hglmc {holiglm}R Documentation

Generic Functions for hglmc Objects

Description

Generic functions for holistic 'GLM' constraints.

Usage

## S3 method for class 'hglmc'
c(...)

is.hglmc(x)

Arguments

...

multiple objects inheriting from "hglmc" to be combined.

x

an R object.

Details

The 'HGLM' constraints are all of class "hglmc" and can be combined with the typical combine function c(). To verify that an object is a 'HGLM' constraint, the function is.hglmc can be used.

Value

The combine function c() returns an object of class "hglmc". The is.hglmc function returns TRUE if the object inherits from class "hglmc" otherwise FALSE.

Examples

constraints <- c(k_max(7), pairwise_sign_coherence())
is.hglmc(constraints)

[Package holiglm version 1.0.0 Index]