Description Usage Arguments Details Value Author(s) Examples
Prints out info about an object in english feasable for be inserted in a paper. It is a generic function which means that new printing methods can be easily added for new classes.
1 | ruminate(x)
|
x |
a object |
Returns the object in a reasonable way
a string
Marcello Gallucci
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # a numeric variable
a<-rnorm(100,0,1)
ruminate(a)
ruminate(a,names=c("mean","s.d."))
# a factor
a<-factor(rep(1:2,15))
levels(a)<-c("Black","Yellow")
ruminate(a)
levels(a)<-c("Male","Female")
ruminate(a,plural=T)
# a table
a<-table(rep(1:2,15))
names(a)<-c("Black","Yellow")
ruminate(a)
names(a)<-c("Male","Female")
ruminate(a,plural=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.