Learn R Programming

languageR (version 1.6)

item.fnc: Function for by-item regression used by simulateRegression.fnc

Description

This function carries out a by-item regression for the simulated data sets generated in simulate.regression.fnc. It is not designed to be used independently.

Usage

item.fnc(data)

Value

A model fitted with lm().

Arguments

data

A data frame as produced by make.reg.fnc().

Author

R. H. Baayen

See Also

See Also simulateRegression.fnc and make.reg.fnc.

Examples

Run this code
if (FALSE) {
  dat = make.reg.fnc()
  dat.lm = item.fnc(dat)
  summary(dat.lm)
}

Run the code above in your browser using DataLab