glm.gaussian: Creates a Gaussian GLM family object.

View source: R/glm.R

glm.gaussianR Documentation

Creates a Gaussian GLM family object.

Description

Creates a Gaussian GLM family object.

Usage

glm.gaussian(y, weights = NULL, opt = TRUE)

Arguments

y

Response vector.

weights

Observation weights.

opt

If TRUE, an optimized routine is run.

Value

Gaussian GLM

Examples

n <- 100
y <- rnorm(n)
obj <- glm.gaussian(y)

adelie documentation built on June 22, 2024, 10:53 a.m.