0
$\begingroup$

I would like to project my observations which consist of more than 2 variables into a scatter plot. Some time ago I saw an R package that does this by reducing the dimensions (possibly using PCA and other algorithms) and plots similar observations close to each other. I have been googling to find how to accomplish that but haven´t found anything.

$\endgroup$
2
$\begingroup$

It sort of sounds like you are describing a biplot. The functions you need, princomp and biplot, are both in the stats library. You can see an example of how to use them here.

$\endgroup$
1
$\begingroup$

I just remembered the name of a method that does just that and its called MDS Multidimensional scaling which projects the data into a lower dimension while trying to preserve the distances between points.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.