reg_y {quickReg} | R Documentation |
Build regression models with more than one dependent variable
Description
Build general linear model, generalized linear model, cox regression model,etc.
Usage
reg_y(data = NULL, x = NULL, y = NULL, cov = NULL, factors = NULL,
model = NULL, time = NULL, confint_glm = "default", cov_show = FALSE)
Arguments
data |
A data.frame |
x |
Integer column indices or names of the variables to be included in univariate analysis, the default columns are all the variables except 'y' and 'time' and 'cov'. |
y |
Integer column indices or name of dependent variable |
cov |
Integer column indices or name of covariate variables |
factors |
Integer column indices or names of variables to be treated as factor |
model |
|
time |
Integer column indices or name of survival time, used in cox regression, see |
confint_glm |
A character, 'default' or 'profile'. The default method for 'glm' class to compute confidence intervals assumes asymptotic normality |
cov_show |
A logical, whether to create covariates result, default FALSE |
Value
The return result is a concentrated result in a data.frame.