View source: R/merge_rast_and_shape.R
merge_rast_and_shape | R Documentation |
This functions merges the two data frames of post prob frequency obtained from extract_raster_postprob and extract_raster_postprob functions. Then it orders it by descending postprob value, compute the cumulated sum of pixels and points and convert it in percent
merge_rast_and_shape(rast_df, shape_df, dataset = "train")
rast_df |
Data frame of postprob/frequency (from extract_raster_postprob function) |
shape_df |
Data frame of postprob/frequency (from extract_shape_postprob function) |
dataset |
a character "train" or "valid |
a df whith postprob values, number of pixels and points it represents and their cumulated sum and percent.
Melody Premaillon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.