View source: R/datamanagement.R
pre_comput_nothing | R Documentation |
Computes intermediate quantities for evaluating basis functions when no interpolation is used. Basis functions are evaluated at the exact covariate and response grid locations.
pre_comput_nothing(
normalizedData,
predictorNames,
responseName,
nIntegral = 51
)
normalizedData |
A data frame with values already normalized to |
predictorNames |
Character vector of covariate column names. |
responseName |
Name of the response variable. |
nIntegral |
Integer, number of points used to discretize the response domain. |
A list of intermediate quantities used in SLGP basis function computation:
nodes
: all points where basis functions are evaluated,
indNodesToIntegral
: index mapping nodes to response bins,
indSamplesToNodes
: index mapping observations to nodes,
indSamplesToPredictor
: index mapping observations to unique predictors,
weightSamplesToNodes
: interpolation weights (equal to 1 here).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.