s_soda_pred_grid: Predict the response y using S-SODA model in a 2-dimensional...

Description Usage Arguments Value

View source: R/pure_soda_par.R

Description

Calls function s_soda_pred in a 2-dimensional grid defined by x1 and x2.

Usage

1
s_soda_pred_grid(xx1, xx2, model, po = 1)

Arguments

xx1

Grid breakpoints for predictor 1.

xx2

Grid breakpoints for predictor 2.

model

S-SODA model estimated from s_soda_model.

po

Order of terms in X to approximate E(y | slice(y)=h, X).

Value

Predicted response.


szcf-weiya/sodaParallel documentation built on Dec. 19, 2020, 5:46 p.m.