glm.gaussian {adelie}R 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)

[Package adelie version 1.0.1 Index]