Description Usage Arguments Details Author(s) Examples

The first layer of the prediction of Spatial locally weighted regression. Mainly used as prediction function for the NAs in the original data set.

1 |

`object` |
an object fitted by 'spaloess'. |

`newdata` |
an optional data frame in which to look for variables with which to predict, or a matrix or vector containing exactly the variables needs for prediction. If missing, the original data points are used. |

`se` |
should standard errors be computed? Default is FALSE |

`na.action` |
function determining what should be done with missing values in data frame 'newdata'. The default is to predict 'NA'. |

`...` |
arguments passed to or from other methods. |

This is the first layer of prediction function of spatial locally weigted regression. In the spaloess function, NA will be removed from the fitting. By passing the spaloess object and NA observations to predloess, predction at the locations of NA is carried out.

When the fit was made using 'surface = "interpolate"' (the default), 'predloess' will not extrapolate - so points outside an axis-aligned hypercube enclosing the original data will have missing ('NA') predictions and standard errors.

Xiaosu Tong, based on 'loess' function of B. D. Ripley, and 'cloess' package of Cleveland, Grosse and Shyu.

1 2 3 4 5 6 |

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.