mylm: A simple modeling function using a formula and data

View source: R/all_func.R View source: R/all_func.R

mylmR Documentation

A simple modeling function using a formula and data

Description

A simple modeling function using a formula and data

A simple modeling function using a formula and data

Usage

mylm(formula, data)

mylm(formula, data)

Arguments

formula

A formula as in lm()

data

A data.frame containing the elements specified in the formula

Value

A list of matrices

A list of matrices

Author(s)

Jay ver Hoef

Examples

options(na.action='na.pass')
data("iris")
out_list = mylm(formula = Petal.Length ~ Sepal.Length + Sepal.Width, data = iris)
options(na.action='na.pass')
data("iris")
out_list = mylm(formula = Petal.Length ~ Sepal.Length + Sepal.Width, data = iris)

SSNbayes documentation built on May 29, 2024, 3:56 a.m.