mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
resolving report creating on server by exporting/importing kable/md table. works for now. Not ideal.
This commit is contained in:
parent
9f828aa4bd
commit
02dfcf50d6
11 changed files with 143 additions and 55 deletions
|
|
@ -267,7 +267,8 @@ supported_functions <- function() {
|
|||
out.type = "continuous",
|
||||
fun = "stats::lm",
|
||||
args.list = NULL,
|
||||
formula.str = "{outcome.str}~{paste(vars,collapse='+')}"
|
||||
formula.str = "{outcome.str}~{paste(vars,collapse='+')}",
|
||||
table.fun = "gtsummary::tbl_regression"
|
||||
),
|
||||
glm = list(
|
||||
descr = "Logistic regression model",
|
||||
|
|
@ -275,7 +276,8 @@ supported_functions <- function() {
|
|||
out.type = "dichotomous",
|
||||
fun = "stats::glm",
|
||||
args.list = list(family = stats::binomial(link = "logit")),
|
||||
formula.str = "{outcome.str}~{paste(vars,collapse='+')}"
|
||||
formula.str = "{outcome.str}~{paste(vars,collapse='+')}",
|
||||
table.fun = "gtsummary::tbl_regression"
|
||||
),
|
||||
polr = list(
|
||||
descr = "Ordinal logistic regression model",
|
||||
|
|
@ -286,7 +288,8 @@ supported_functions <- function() {
|
|||
Hess = TRUE,
|
||||
method = "logistic"
|
||||
),
|
||||
formula.str = "{outcome.str}~{paste(vars,collapse='+')}"
|
||||
formula.str = "{outcome.str}~{paste(vars,collapse='+')}",
|
||||
table.fun = "gtsummary::tbl_regression"
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue