Learn R Programming

JointAI (version 1.0.6)

paste_coef: Write the coefficient part of a linear predictor

Description

Write the coefficient part of a linear predictor

Usage

paste_coef(parname, parelmts)

Value

A vector of character strings of the form beta[3].

Arguments

parname

character string; name of the coefficient (e.g., "beta")

parelmts

vector of integers; the index of the parameter vector