search for: stat_ellipse

Displaying 4 results from an estimated 4 matches for "stat_ellipse".

2016 Apr 18
1
project test data into principal components of training dataset
...prediction df.pred = data.frame(PC1 = wine.new.bind[,1], PC2 = wine.new.bind[,2], PC3 = wine.new.bind[,3], PC4 = wine.new.bind[,4], classes = wine.new.bind$class) g.test <- ggplot(df.pred, aes(PC1, PC2, color = classes, shape = classes)) + geom_point() + stat_ellipse() g.test -- Our solar system is the cream of the crop http://hasa-labs.org
2020 Oct 16
1
Vectores de impedancia bioeléctrica
> Estimados > > --En este artículo http://scielo.isciii.es/pdf/nh/v31n3/46originalvaloracionnutricional08.pdf Vectores de impedancia bioeléctrica, en la fig 1 hay un gráfico que realizan en un programa, mi pregunta es si > en R se puede calcular, si esto se relaciona a biplot, por favor > necesito de su ayuda > saludos > Dr. Jose A. Betancourt Bethencourt > Universidad
2017 Oct 09
0
example of geom_contour() with function argument
library(mvtnorm) # you were misusing "require"... only use require if you plan to library(ggplot2) # test the return value and fail gracefully when the package is missing set.seed( 1234 ) xx <- data.frame( rmvt( 100, df = c( 13, 13 ) ) ) xx2 <- expand.grid( X1 = seq( -5, 5, 0.1 ) # all combinations... could be used to fill a matrix , X2 = seq( -5, 5, 0.1 )
2017 Oct 09
3
example of geom_contour() with function argument
Hi, This is not a HW problem, sadly: I was last in a classroom 30 years ago, and can no longer run off to the instructor :-( I apologize but I cut and paste the wrong snippet earlier and made a typo in doing so, but the result is the same with the more appropriate snippet. require(mvtnorm) require(ggplot2) set.seed(1234) xx <- data.frame(rmvt(100, df = c(13, 13))) v <- ggplot(data = xx,