apply_respfun_outcome {gmfamm}R Documentation

Apply link functions based on outcome information

Description

This is an internal function for the extreme case that a vector is plugged into a response function depending on outcome information.

Usage

apply_respfun_outcome(x, outcome, links)

Arguments

x

Vector of additive predictors.

outcome

Factor vector containing information on the outcome of the corresponding element of vector x.

links

Vector containing the names of the respective links for the mu outcomes.

Value

Vector of lenght x where different response functions have been applied.


[Package gmfamm version 0.1.0 Index]