family-methods: Family objects for models

Description Usage Arguments Value Examples

Description

Family objects provide a convenient way to specify the details of the models used by netReg. See also stats::family for more details.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
family(object, ...)

gaussian(link = c("identity"))

binomial(link = c("logit", "probit", "log"))

poisson(link = c("log"))

gamma(link = c("inverse"))

beta(link = c("logit", "probit", "log"))

inverse.gaussian(link = c("1/mu^2"))

Arguments

object

a object for which the family shoulr be retured (e.g. edgenet)

...

further arguments passed to methods

link

name of a link function

Value

An object of class netReg.family

family

name of the family

link

name of the link function

linkinv

inverse link function

loss

loss function

Examples

1
2
3
4
5
6
gaussian()
binomial("probit")$link
poisson()$linkinv
gamma()$linkinv
beta()$loss
inverse.gaussian()$loss

netReg documentation built on Nov. 8, 2020, 5:17 p.m.