# 方法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...
# 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:1...
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...
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 differences. Weighted data are supported via the 'survey' package. See 'github' for...
向学术期刊投稿时,“变态”的审稿人向你“索要”LSD-t值,可是SPSS的输出结果中没有这个值——是不...
Dear Dr. Alexander Hello, I am Wang Wenhao, Department of Obstetrics and Gynecology, Second Hospital of Shanxi Medical University. Thank you for your suggestion. Thank you for the R package, let us process data easier. Yours sincerely student Wang Wenhao. Wenhao Wang 2020.09.07 | | 王文豪 ...
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...