| GLM | R Documentation |
This class specializes ParamRegrModel. It is the abstract base class for parametric generalized linear model objects with specific distribution family such as NormalGLM and handles the (inverse) link function.
gofreg::ParamRegrModel -> GLM
new()Initialize an object of class GLM.
GLM$new(linkinv = identity, params = NA)
linkinvinverse link function, defaults to identity function
paramsmodel parameters to use as default (optional)
a new instance of the class
mean_yx()Evaluates the regression function or in other terms the expected value of Y given X=x.
GLM$mean_yx(x, params = private$params)
xvector of covariates
paramsmodel parameters to use, defaults to the fitted parameter values
value of the regression function
clone()The objects of this class are cloneable with this method.
GLM$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.