glm.predict: Donwscaling with a given generalized linear model (GLM).

View source: R/downsGLM.R

glm.predictR Documentation

Donwscaling with a given generalized linear model (GLM).

Description

Donwscaling with a given generalized linear models (GLM) calculated in downscalePredict via glm.train.

Usage

glm.predict(x, weights, info, simulate)

Arguments

x

The grid data. Class: matrix.

weights

Object as returned from glm.train

info

A list containing information of the experiment: the fitting, the family of the generalized linear model and if it is deterministic or stochastic.

simulate

A logic value indicating whether we want a stochastic or a deterministic GLM. Stochastic GLMs only accept gamma

Details

Predicts by using the base function predict. This function is internal and should not be used by the user. The user should use downscalePredict.

Value

The predicted matrix.

Author(s)

J. Bano-Medina


SantanderMetGroup/downscaleR documentation built on Nov. 16, 2024, 1:35 a.m.