predict_shrble_lm: Predict shareable linear model

predict_shrble_lmR Documentation

Predict shareable linear model

Description

predict_shrble_lm() is a Predict function that makes predictions from data using a specified statistical model. Specifically, this function implements an algorithm to predict shareable linear model. The function is called for its side effects and does not return a value.

Usage

predict_shrble_lm(
  object,
  newdata,
  se.fit = FALSE,
  scale = NULL,
  df = Inf,
  interval = c("none", "confidence", "prediction"),
  level = 0.95,
  type = c("response", "terms"),
  terms = NULL,
  na.action = na.pass,
  pred.var = res.var/weights,
  weights = 1,
  sd_1L_dbl,
  ...
)

Arguments

object

PARAM_DESCRIPTION

newdata

New dataset (for prediction) (a new dataset (for prediction))

se.fit

PARAM_DESCRIPTION, Default: FALSE

scale

PARAM_DESCRIPTION, Default: NULL

df

Data.frame (a data.frame), Default: Inf

interval

PARAM_DESCRIPTION, Default: c("none", "confidence", "prediction")

level

PARAM_DESCRIPTION, Default: 0.95

type

PARAM_DESCRIPTION, Default: c("response", "terms")

terms

PARAM_DESCRIPTION, Default: NULL

na.action

PARAM_DESCRIPTION, Default: na.pass

pred.var

PARAM_DESCRIPTION, Default: res.var/weights

weights

PARAM_DESCRIPTION, Default: 1

sd_1L_dbl

Standard deviation (a double vector of length one)

...

Additional arguments


ready4-dev/specific documentation built on Oct. 13, 2023, 7:54 a.m.