Showing content from http://cran.rstudio.com/web/packages/rJava/../CirceR/../rmarkdown/../vtable/vignettes/labeltable.R below:
## ----eval=FALSE--------------------------------------------------------------- # labeltable(var, # ..., # out=NA, # count=FALSE, # percent=FALSE, # file=NA, # desc=NA, # note=NA, # note.align=NA, # anchor=NA) ## ----------------------------------------------------------------------------- #Include a single labelled variable to show how the values of that variable correspond to its value labels. library(vtable) library(sjlabelled) data(efc) labeltable(efc$e15relat) ## ----------------------------------------------------------------------------- #Include more than one variable to show, for each value of the first, what values of the others are present in the data. data(mtcars) labeltable(mtcars$cyl,mtcars$carb,mtcars$am) ## ----------------------------------------------------------------------------- library(vtable) data(LifeCycleSavings) labeltable(efc$e15relat, count = TRUE, percent = TRUE) ## ----eval=FALSE--------------------------------------------------------------- # library(vtable) # # data(LifeCycleSavings) # labeltable(efc$e15relat,file='lifecycle_variabledocumentation')
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4