apply_respfun_outcome: Apply link functions based on outcome information

View source: R/predict.R

apply_respfun_outcomeR 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.


gmfamm documentation built on June 22, 2024, 10:35 a.m.