wtorek, 5 stycznia 2016

R: quick view at data - correlogram, margin plot etc.

Quick get it from excel
 
> mojedane<-read.table(file="clipboard",dec = ",",header=TRUE) 
 
Then, after: http://www.statmethods.net/advgraphs/correlograms.html 
 
> library(corrgram) 
 
> corrgram(mojedane, order=TRUE, lower.panel=panel.ellipse,
+          upper.panel=panel.pie, text.panel=panel.txt,
+          diag.panel=panel.minmax,
+          main="Korelacje - moje dane") 
 
 
To see where the missing data goes.
 
http://www.inside-r.org/packages/cran/VIM/docs/marginplot
 
> library("VIM")
> mojedane<-read.table(file="clipboard",dec = ",",header=TRUE,row.names = 1)
> marginplot(mojedane[,c(1,2)])

Brak komentarzy:

Prześlij komentarz