predict_ga: Function to compute the preposterior for each of the basis...

Description Usage Arguments Value

View source: R/evsi.R

Description

Function to compute the preposterior for each of the basis functions of the GAM model.

Usage

1
predict_ga(object, n, n0)

Arguments

object

gam object

n

scalar or vector of new sample size to compute evsi on

n0

scalar or vector of effective prior sample size

Value

the conditional loss associated with a gam, effective prior sample size, and new sample size


dampack documentation built on May 31, 2021, 1:06 a.m.