gam_iterate: Run the p-Wasserstein projections for the GAM example

Description Usage Arguments

View source: R/gam_iterate_gbm.R

Description

Run the p-Wasserstein projections for the GAM example

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
gam_iterate(
  formula,
  y,
  x,
  extract,
  time,
  nT,
  which.gam = c("gam", "qgam"),
  ...
)

Arguments

formula

an R formula object suitable for gam or qgam

y

prediction matrix

x

covariates

extract

new data for prediction

time

vector of times

nT

number of timepoints

which.gam

"gam" or "qgam" for the models?

...

not currently used


eifer4/CoarsePosteriorSummary documentation built on April 10, 2021, 12:40 p.m.