Learn R Programming

genpwr (version 1.0.2)

X_mat_returner: Function to output X matrices used in calculation of MLE's for linear outcome with logistic environment interaction

Description

Returns X matrices used in calculation of MLE's for linear outcome with logistic environment interaction

Usage

X_mat_returner(mod, reduced = F)

Arguments

mod

type of model

reduced

logical, indicates whether the X matrix will be used for a reduced model

Value

A matrix to be used in MLE calculation for linear outcome with logistic environment interaction

Examples

Run this code
# NOT RUN {
X_mat_returner(mod = "Dominant")

# }

Run the code above in your browser using DataLab