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

View source: R/gam_iterate_gbm.R

gam_iterateR Documentation

Run the p-Wasserstein projections for the GAM example

Description

Run the p-Wasserstein projections for the GAM example

Usage

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


ericdunipace/SLIMpaper documentation built on May 5, 2024, 3:43 p.m.