Description Usage Arguments Details Value See Also Examples

Generates a table with the results of inverse distance weighting spatio-temporal interpolation (*idwST*) from leave-one-out cross validation method.

1 |

`formula` |
formula that defines a detrended linear model, use |

`data` |
SpatialPointsDataFrame: should contain the spatio-temporal dependent variable, independent variables (statics and/or dynamics), spatial coordinates and the time as an integer or numerical variable. |

`n.neigh` |
number of nearest observations that should be used for a |

`C` |
numeric; associated to time factor, we recommend using the parameter found by
minimizing the root-mean-square prediction errors using cross-validation. Using |

`factor.p` |
numeric; specify the inverse distance weighting power ( |

`progress` |
whether a progress bar shall be printed for spatio-temporal inverse-distance weighted function; default=TRUE |

Leave-one-out cross validation (LOOCV) consists of removing data, one at a time, and then trying to predict it. Next, the predicted value can be compared to the actual (observed) value to assess how well the prediction is working. The observed value is left out because *idwST* would otherwise predict the value itself.

data frame contain prediction columns, observed values, residuals, the prediction variance, zscore (residual divided by standard error) which left with NA's, the fold column which is associated to cross-validation count, coordinates data and time. Prediction columns and residuals are obtained from cross-validation data points.

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.