s_soda_pred_grid {sodavis} | R Documentation |
Predict the response y using S-SODA model in a 2-dimensional grid.
Description
Calls function s_soda_pred in a 2-dimensional grid defined by x1 and x2.
Usage
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.
[Package sodavis version 1.2 Index]