Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么处理tableContinuous {reporttools}返回的结果 #47

Closed
slsongge opened this issue Mar 23, 2020 · 2 comments
Closed

怎么处理tableContinuous {reporttools}返回的结果 #47

slsongge opened this issue Mar 23, 2020 · 2 comments
Labels
good first issue Good for newcomers

Comments

@slsongge
Copy link
Collaborator

@JiaxiangBU 家翔哥

问题

用tableContinuous返回的结果,如何生成表格呢?

代码

# install.packages("reporttools")
library(reporttools)

data(CO2)
vars <- CO2[, 4:5]
group <- CO2[, "Treatment"]
weights <- c(rep(1, 60), rep(0, 10), rep(2, 14))

## display default statistics, provide neither group nor weights
tableContinuous(vars = vars, stats = c("n", "min", "mean", "median", 
    "max", "iqr", "na"), print.pval = "kruskal", 
    cap = "Table of continuous variables.", lab = "tab: descr stat")
@slsongge
Copy link
Collaborator Author

@JiaxiangBU 没事了哈,我下载了那个软件,几乎可以解决问题了。

@JiaxiangBU JiaxiangBU added the good first issue Good for newcomers label Mar 23, 2020
@JiaxiangBU
Copy link
Owner

对的,mathpix 可以完成绝大部分的任务,但是还是会有一些问题。

image

\scriptsize 无法识别。

另外一个就是无法自动化,目前已经有 mathpix 的包了,可以 GitHub 找下。

@slsongge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants