o_control: Function to control estimation of smooth offset

View source: R/utilityFunctions.R

o_controlR Documentation

Function to control estimation of smooth offset

Description

Function to control estimation of smooth offset

Usage

o_control(k_min = 20, rule = 2, silent = TRUE, cyclic = FALSE, knots = NULL)

Arguments

k_min

maximal number of k in s()

rule

which rule to use in approx() of the response before calculating the global mean, rule=1 means no extrapolation, rule=2 means to extrapolate the closest non-missing value, see approx

silent

print error messages of model fit?

cyclic

defaults to FALSE, if TRUE cyclic splines are used

knots

arguments knots passed to gam

Value

a list with controls


FDboost documentation built on Aug. 12, 2023, 5:13 p.m.