View source: R/results-multiv.R
compute_mod | R Documentation |
Compute multivariable statistical model
compute_mod(tab, vardep, varindep, varajust = character(0), type, pred = 0)
tab |
The data.frame |
vardep |
The dependant variable |
varindep |
The independant variables |
varajust |
The adjustment variables |
type |
Type: one of "linear", "logistic" or "survival" |
pred |
0 if the analysis is explanatory, 1 if the analysis is predictive, 2 if the model is computed for cross validation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.