f {BayesGP}R Documentation

Function defined to enhance the usability for users on IDEs.

Description

Function defined to enhance the usability for users on IDEs.

Usage

f(
  smoothing_var,
  model = "iid",
  sd.prior = NULL,
  boundary.prior = NULL,
  initial_location = c("middle", "left", "right")
)

Arguments

smoothing_var

The variable name of the smoothing variable.

model

The name of the smoothing model.

sd.prior

A list/vector that specifies the prior of the sd parameter.

boundary.prior

A list/vector that specifies the prior of the boundary parameter.

initial_location

A character/number that specifies the initial location of the smoothing variable.

Value

A call object that can be used in the model_fit formula to indicate a smooth term or random effect.


[Package BayesGP version 0.1.3 Index]