| patchdistr_sews_predict | R Documentation |
Export the observed and fitted patch size distributions
## S3 method for class 'patchdistr_sews_single'
predict(object, ..., newdata = NULL, best_only = FALSE, xmin_rescale = FALSE)
object |
An |
... |
Additional arguments (ignored) |
newdata |
A vector of patch sizes at which the fit is returned (default to 200 regularly-spaced values). |
best_only |
Return values for only the best fit of each element (matrix)
in |
xmin_rescale |
If the xmin value used for fits is above one, then setting this
to |
The function patchdistr_sews fits competing
distribution models to the observed patch size distributions. This
functions is able to export the observed values and the fitted values
altogether.
A list with component obs, a data.frame containing the observed
distribution values and pred, a data.frame containing the fitted
values. Both data.frames have columns matrixn, the number of
the matrix for which values are given, type, the fitted type of distribution,
as well as patchsize and y, the patch size and value of the
inverse cumulative distribution function (i.e. 1 - P(x<k)).
patchdistr_sews
patch_indics <- patchdistr_sews(forestgap)
predict(patch_indics)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.