Learn R Programming

psychtm (version 2021.1.0)

eta<-: Create generic eta<- function for class

Description

Create generic eta<- function for class

Usage

eta(x) <- value

Arguments

x

An Model object.

value

Numeric vector of regression coefficients to assign to slot.

Value

None.

Examples

Run this code
# NOT RUN {
m1 <- Model(ndocs = 1)
eta(m1) <- matrix(c(-1.0, 1.0), nrow = 1, ncol = 2)
# }

Run the code above in your browser using DataLab