glm.gaussian | R Documentation |
A GLM family object specifies the type of model fit, provides the appropriate response object and makes sure it is represented in the right form for the model family, and allows for optional parameters such as a weight vector.
glm.gaussian(y, weights = NULL, opt = TRUE)
y |
Response vector. |
weights |
Observation weight vector, with default |
opt |
If |
Gaussian GLM
James Yang, Trevor Hastie, and Balasubramanian Narasimhan
Maintainer: Trevor Hastie hastie@stanford.edu
glm.gaussian
, glm.binomial
, glm.poisson
, glm.multinomial
, glm.multigaussian
, glm.cox
.
n <- 100
y <- rnorm(n)
obj <- glm.gaussian(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.