Hypothesis: Hypothesis class

HypothesisR Documentation

Hypothesis class

Description

Some description

Active bindings

get_L

Return the L matrix of the hypothesis.

get_M

Return the M matrix of the hypothesis.

get_P

Return the P matrix of the hypothesis.

get_description

Return the description of the hypothesis.

expose

Returns the private structure of the object. For debugging purposes only.

Methods

Public methods


Method new()

Validates the input for different functions.

Hypothesis class constructor.

Usage
Hypothesis$new(M = NULL, L = NULL, P = NULL, description = "")
Arguments
M

M matrix. Can be omitted if the number of dependent variables equals 1.

L

L matrix. Can be omitted if the number of groups equals 1.

P

P matrix. Can be omitted if the number of covariates equals 0.

description

Character. Description of the hypothesis. Can be any character.

lgc

Object of class Lgc.


Method get_wald_string()

Returns the a string for the Wald test.

Usage
Hypothesis$get_wald_string(lgc)
Arguments
lgc

Object of class Lgc.


Method get_contrasts()

Usage
Hypothesis$get_contrasts(lgc)

Method get_contrasts_old()

Usage
Hypothesis$get_contrasts_old(lgc)

Method clone()

The objects of this class are cloneable with this method.

Usage
Hypothesis$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


langenberg/semnova documentation built on Feb. 12, 2025, 7:06 a.m.