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 Replication (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.

hyp

A character string, containing a Replication 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 R, specifying (in)equality constraints, and, a vector called r with constants, and a value E specifying the number of equality constraints.

Author(s)

Caspar van Lissa, modified for the ANOVAreplication package by M.A.J. Zondervan-Zwijnenburg


ANOVAreplication documentation built on Sept. 27, 2021, 9:06 a.m.