create_matrices: Create (in)equality constraint matrices

Description Usage Arguments Details Value Author(s)

View source: R/create_matrices.R

Description

Parses a character string describing a set of informative hypotheses, and returns (in)equality constraint matrices

Usage

1
create_matrices(varnames, hyp)

Arguments

varnames

A character (vector of characters), containing names of variables used in the hypotheses. which the model parameters are extracted.

hyp

A character string, containing a hypothesis (see Details).

Details

Informative hypotheses specified as a character string by "hyp" should adhere to the following simple syntax:

Value

A pair of named matrices for every hypothesis specified in the hyp argument; one matrix named ERr, specifying equality constraints, and one matrix named IRr, specifying inequality constraints.

Author(s)

Caspar van Lissa


bain documentation built on Nov. 27, 2021, 1:06 a.m.