linmodEst: Linear Regression

Description Usage

View source: R/linmodEst.R

Description

Fit a linear regression model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
linmod(x, ...)
## Default S3 method:
linmod(x, y, ...)

{Andi Sardina}
{
  data(cats, package="MASS")
  mod1 <- linmod(Hwt~Bwt*Sex, data=cats)
  mod1summary(mod1)
}

{
linmod(x, ...)
  ## Default S3 method:
linmod(x, y, ...)
  ## S3 method for class 'linmod'
print(x, ...)
  ## S3 method for class 'linmod'
summary(object, ...)
}

{
  \item{x}{ a numeric design matrix for the model. }
  \item{y}{ a numeric vector of responses. }
  \item{data}{ an optional data frame containing the variables in the model. }
  \item{object}{ an object of class "linmod", i.e., a fitted model. }
  \item{...}{ not used. }
}



{regression}

AndySardina/linear documentation built on May 28, 2019, 11:04 a.m.