Description Usage Arguments Details Value Author(s) References Examples

This function interpolates the spatial structure of residuals of a GLM through `gam`

or `surf.ls`

and optionally provides a graph.

1 | ```
residualssurface(model, data, x, y, gam = F, npol = 2, plotit = T, filled = F, bubble = F)
``` |

`model` |
Result of GLM as calculated by |

`data` |
Data set that contains the spatial coordinates of the sample units used for the original model (specified as "x" and "y"). |

`x` |
Horizontal position of the sample units. |

`y` |
Vertical position of the sample units. |

`gam` |
Interpolate the spatial structure by |

`npol` |
Degree of polynomial surface as passed to |

`plotit` |
Plot the interpolated surface (through |

`filled` |
Fill the contours by |

`bubble` |
Provide a bubble graph of the residuals: circles indicate positive residuals, whereas squares indicate negative residuals. |

The function reports the results of a GAM or least-squares trend surface analysis of the spatial distribution of residuals of a model (through `residuals`

).

Optionally, a graph is produced that can contain the trend surface, filled contours and bubble graphs in addition to the spatial location of the sample units.

The function reports the results of a GAM or least-squares trend surface analysis of the spatial distribution of residuals. Optionally, a graph is provided.

Roeland Kindt (World Agroforestry Centre)

Kindt, R. & Coe, R. (2005) Tree diversity analysis: A manual and software for common statistical methods for ecological and biodiversity studies.

http://www.worldagroforestry.org/output/tree-diversity-analysis

1 2 3 4 5 6 7 8 |

BiodiversityR documentation built on June 23, 2017, 4:44 a.m.

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.