compute_mod: Compute multivariable statistical model

View source: R/results-multiv.R

compute_modR Documentation

Compute multivariable statistical model

Description

Compute multivariable statistical model

Usage

compute_mod(tab, vardep, varindep, varajust = character(0), type, pred = 0)

Arguments

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


KZARCA/simplestats documentation built on Feb. 19, 2024, 1:11 a.m.