mylm {SSNbayes}R 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)

[Package SSNbayes version 0.0.3 Index]