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

View source: R/evsi.R

predict_gaR Documentation

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

Description

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

Usage

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


DARTH-git/dampack documentation built on Sept. 25, 2024, 4:48 p.m.