[R-gregmisc-users] SF.net SVN: r-gregmisc:[1831] trunk/SASxport/man/read.xport.Rd
Brought to you by:
warnes
From: <wa...@us...> - 2014-07-17 02:56:20
|
Revision: 1831 http://sourceforge.net/p/r-gregmisc/code/1831 Author: warnes Date: 2014-07-17 02:56:17 +0000 (Thu, 17 Jul 2014) Log Message: ----------- Updated read.xport man page exampls to match new behavior of names.toupper Modified Paths: -------------- trunk/SASxport/man/read.xport.Rd Modified: trunk/SASxport/man/read.xport.Rd =================================================================== --- trunk/SASxport/man/read.xport.Rd 2014-07-17 02:55:02 UTC (rev 1830) +++ trunk/SASxport/man/read.xport.Rd 2014-07-17 02:56:17 UTC (rev 1831) @@ -199,14 +199,14 @@ #### data imported from SAS via read.xport() library(Hmisc) -describe(w$test) # see labels, format names for dataset test +describe(w$TEST) # see labels, format names for dataset test lapply(w, describe)# see descriptive stats in more detail for each variable -contents(w$test) # another way to see variable attributes +contents(w$TEST) # another way to see variable attributes lapply(w, contents)# show contents of individual items in more detail options(digits=7) # compare the following matrix with PROC MEANS output -t(sapply(w$z, function(x) +t(sapply(w$Z, function(x) c(Mean=mean(x),SD=sqrt(var(x)),Min=min(x),Max=max(x)))) } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |