-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathtemplate_logistic.Rd
More file actions
66 lines (53 loc) · 2.46 KB
/
template_logistic.Rd
File metadata and controls
66 lines (53 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tm_t_logistic.R
\name{template_logistic}
\alias{template_logistic}
\title{Template: Logistic Regression}
\usage{
template_logistic(
dataname,
arm_var,
aval_var,
label_paramcd,
cov_var,
interaction_var,
ref_arm,
comp_arm,
topleft = "Logistic Regression",
conf_level = 0.95,
combine_comp_arms = FALSE,
responder_val = c("CR", "PR"),
at = NULL,
basic_table_args = teal.widgets::basic_table_args()
)
}
\arguments{
\item{dataname}{(\code{character})\cr analysis data used in teal module.}
\item{arm_var}{(\code{character})\cr variable names that can be used as \code{arm_var}. To fit a logistic model with no
arm/treatment variable, set to \code{NULL}.}
\item{aval_var}{(\code{character})\cr name of the analysis value variable.}
\item{label_paramcd}{(\code{character})\cr label of response parameter value to print in the table title.}
\item{cov_var}{(\code{character})\cr names of the covariates variables.}
\item{interaction_var}{(\code{character})\cr names of the variables that can be used for interaction variable selection.}
\item{ref_arm}{(\code{character})\cr the level of reference arm in case of arm comparison.}
\item{comp_arm}{(\code{character})\cr the level of comparison arm in case of arm comparison.}
\item{topleft}{(\code{character})\cr text to use as top-left annotation in the table.}
\item{conf_level}{(\code{numeric})\cr value for the confidence level within the range of (0, 1).}
\item{combine_comp_arms}{(\code{logical})\cr triggers the combination of comparison arms.}
\item{responder_val}{(\code{character})\cr values of the responder variable corresponding with a successful response.}
\item{at}{(\code{numeric} or \code{NULL})\cr optional values for the interaction variable. Otherwise the median is used.}
\item{basic_table_args}{(\code{basic_table_args}) optional\cr object created by \code{\link[teal.widgets:basic_table_args]{teal.widgets::basic_table_args()}}
with settings for the module table. The argument is merged with option \code{teal.basic_table_args} and with default
module arguments (hard coded in the module body).
For more details, see the vignette: \code{vignette("custom-basic-table-arguments", package = "teal.widgets")}.}
}
\value{
a \code{list} of expressions to generate a table or plot object.
}
\description{
Creates a valid expression to generate a logistic regression table.
}
\seealso{
\code{\link[=tm_t_logistic]{tm_t_logistic()}}
}
\keyword{internal}