nauf.terms: Class for 'terms' objects which contain information about...

Description Details See Also

View source: R/nauf_trms_fr_x_z.R

Description

When nauf_model.frame is called, a nauf.frame is returned, and this object's terms attribute has the (S3) class nauf.terms. The nauf.terms object has an attribute nauf.info which contains all of the information necessary to implement nauf_contrasts in regression.

Details

The nauf.info attribute is a list with the following elements:

formula

The formula argument to nauf_model.frame with double-bars expanded.

resp

The name of the response variable.

groups

A named list of random effects grouping factor levels.

uf

A named list with an elment for each unordered factor. Each of these elements is a list of character vectors indicating the names of the levels that correspond to the elment's number's set of contrasts; i.e. the first element represents the main effect contrasts for the factor, the second element (if present) represents .c2. contrasts, and so on (see nauf_contrasts).

of

A named list with an element for each ordered factor containing its levels and contrasts.

num

A named list with an element for each numeric vector variable containing the variables' means.

mat

A named list with an element for each matrix variable containing the variables' colmun means.

extras

A character vector giving the names of offsets, weights, mustart, etc.

cc

A list of contrast changes required as described in nauf_contrasts. The first element is a list of the changes required for the fixed effects. If the model has random effects, then there is an additional element for each element of the list returned by findbars. Each element of cc is a named list indicating which contrasts in the uf element of nauf.info should be used.

hasna

A named logical vector with an entry for each variable indicating whether nor not the variable contains NA values.

ncs_scale

The ncs_scale argument from the call to nauf_model.frame.

See Also

nauf_contrasts and nauf_model.frame.


nauf documentation built on June 20, 2017, 9:05 a.m.