tableone was inspired by descriptive statistics functions in Deducer , a Java-based GUI package by Ian Fellows. This package does not require GUI or Java, and intended for command-line users. Most important functions are CreateTableOne and svyCreateTableOne. Note Acknowledgement: Ian Fellows ...
# 方法1. 直接使用Rscript执行 Rscript template.r # 调置输入数据文件,输出图表文件名前缀 Rscript template.r -i data_table.txt -o output # 方法2. 添加可执行权限和环境变量 chmod +x template.r # 链接至有权限写入的环境变量目录,如我的是~/bin/ ln `pwd`/template.r ~/bin/ # 任何地方可以...
An R package to create “Table 1”, description of baseline characteristics Creates “Table 1”, i.e., description of baseline patient characteristics, which is essential in every medical research. Supports both continuous and categorical variables, as well as p-values and standardized mean differen...
Error in Summary.factor(c(3L, 1L), na.rm = TRUE) : 'sum' not meaningful for factors In addition: Warning message: package 'tableone' was built under R version 3.4.4 My session info: sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running...
# generate data with package named "wakefield" ---# refer to https://github.com/trinker/wakefieldlibrary(wakefield)dat1<-r_data_frame(100,age(x=20:80),sex(prob=c(0.8,0.2)),smokes,income,animal,likert(x=c("group1"),prob=c(1),name="group"))dat2<-r_data_frame(100,age(x=30:...
An R package to create “Table 1”, description of baseline characteristics Creates “Table 1”, i.e., description of baseline patient characteristics, which is essential in every medical research. Supports both continuous and categorical variables, as well as p-values and standardized mean differen...