Learn R Programming

FDboost (version 1.1-2)

o_control: 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)

Value

a list with controls

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