ancova_fit: fit ANCOVA for complete data

Description Usage Arguments Value

View source: R/util_fn.R

Description

Fit ANCOVA for the complete data

Usage

1
ancova_fit(data_complete_trt, last_name, covar_name, fit_model)

Arguments

data_complete_trt

complete wide form data of the treatment group

last_name

name of the response at the last time point

covar_name

name of the covariates

fit_model

type of the analysis model. Available: lm, Rfit::rfit (rank regression), MASS::rlm (robust regression)

Value

A list of estimates:


Merck/mmrm documentation built on Dec. 17, 2021, 4:12 a.m.