Description Usage Arguments Value See Also Examples
View source: R/pdRaster_v4.1.R
Assign unknown tissue isotope to calibrated precipitation isoscape.
1 |
r |
Output of |
prior |
raster. This is an optional raster layer with prior probabilities, which should has the same projection, resolution and extent as the isoscape raster. |
unknown |
data.frame. First column should be unique sample ID, and second column should be tissue d2H values of the individuals for which the assignments will be made. |
mask |
SpatialPolygonsDataFrame. This mask will constrain the assignment area. If this is not provided, a default of mask of rescaled.mean is used. |
genplot |
logical. Generate summary plots in R (TRUE [default]) or not (FALSE). |
saveFile |
logical. Save the results (TRUE [default]) or not (FALSE)). |
returns an object of class RasterStack or RasterLayer that includes a probability density raster for each individual in "unknown". pdRaster writes individual rasters in GTiff format to disk in the working directory for each individual in "unknown".
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.