View source: R/residual_plots.R
Prepare the data set containing the mean residuals per measurement location
for the following call of plot_residsVSxy
.
Note: This function can only be used for situations, where measurements
took place at a set of fixed locations in 2D, which all have multiple measurements.
Situations where each observations has a unique metric value on the x and/or y
axis are not supported. Neither are other spatial dimensions than 2D.
1 2 | prepareData_residsVSxy(model, data, yvar, xCoord_var, yCoord_var,
type = "response", ...)
|
model |
Function-on-scalar model fitted with |
data |
Data for which the residuals of the model should be looked at |
yvar |
name of the response variable in |
xCoord_var, yCoord_var |
name of the variables containing location information for the x and y axis of the measurements |
type |
See |
... |
Additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.