Learn R Programming

JointAI (version 1.1.0)

prep_arglist: Prepare list of arguments for model_imp()

Description

Prepare list of arguments for model_imp()

Usage

prep_arglist(analysis_type, family = NULL, formals = formals(),
  call = match.call(), sframe = sys.frame(sys.nframe()))

Value

A list of arguments prepared for model_imp(), including the analysis type, family, formulas, and other relevant parameters.

Arguments

analysis_type

Type of analysis to be performed (from *_imp())

family

family object or character string specifying the error distribution and link function.

formals

List of formal arguments for the function.

call

The matched call as returned by match.call().

sframe

An environment (typically from sys.frame(sys.nframe()))