Displaying 1 result from an estimated 1 matches for "pvvoit".
2002 May 02
0
biplot labels
...part of my R file follows ; "m" is my initial data frame, which has the variable "code" as row.names, and another variable "name" that I'd
like to use as labels for the points.
> attach(m)
> t <- subset(m, comm == "59512", select=c(pvviol,pcamb,pvvoit,pvroul,pinc,pdeg,ptot,pvp,pmin))
> library(mva)
> a <- princomp(na.omit(t),cor=TRUE)
I have tried some complicated things like
> biplot(a, cex=0.6, xlabs = subset(m, (comm == "59512") & !(is.na(pvviol)), select = name))
(because I have two points who have missing values...