ihgcov: Main function for IHG models with covariates

Description Usage Arguments Details Value

View source: R/ihgcov.R

Description

Estimate and validate an IHG model for given ordinal responses, with covariates to explain the preference parameter.

Usage

1
ihgcov(m, ordinal, U)

Arguments

m

Number of ordinal categories

ordinal

Vector of ordinal responses

U

Matrix of selected covariates for the preference parameter

Details

The optimization procedure is run via "optim", option method="Brent" for constrained optimization (lower bound = 0, upper bound=1).

Value

An object of the class "IHG"

An object of the class "IHG"


CUB documentation built on March 31, 2020, 5:14 p.m.