Create a Two-Dimensional Prediction Surface
Source:R/prediction-surfaces.R
create_prediction_surface.RdCreate a Two-Dimensional Prediction Surface
Arguments
- fit
A fitted
gp3bayes_fit.- x, y
Numeric predictors.
- x_values, y_values
Optional explicit predictor values.
- n
Values per predictor when explicit values are omitted.
- at
Named values holding other predictors fixed.
- type
Prediction quantity.
- include_group_effects
Whether group effects are included.
- allow_new_levels
Whether new grouping levels are permitted.
- ndraws
Optional posterior draws.
- probs
Three interval probabilities.
- seed
Predictive simulation seed.
- max_rows
Maximum grid rows.