View source: R/adaptconcept2_sFFLHD_R6_desfuncs.R
A des func where output is scaled 0 to 1, max higher
1 | des_func_relmaxgrad(mod, XX, return_se = F, N_add = 1000)
|
mod |
model |
XX |
design matrix |
return_se |
whether the se prediction should be returned along with the des, all will be returned in data.frame, this will save time if calculating the werror function since it is faster |
N_add |
number of points to add to predict both at once instead of separately |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.