Skip to content
Prev 139720 / 398506 Next

Table of basic descriptive statistics like SPSS

At 7:05 PM +0100 3/17/08, ukoenig at med.uni-marburg.de wrote:
Udo,
   To limit the number of columns of describe,  set   skew=FALSE

to delete variables from the description, do so in the call to describe

e.g.,
df <- as.data.frame(matrix( rnorm(1000), ncol=100))
describe(df[c(1:10,20:30)],skew=FALSE)
describe(df[-c(10:98)],range=FALSE,skew=FALSE)

to print the output  into LaTeX,  look at the the Sweave package.


Bill