extract_shape_postprob: build a dataframe of postprob value for each point

View source: R/extract_shape_postprob.R

extract_shape_postprobR Documentation

build a dataframe of postprob value for each point

Description

This function takes two files : susceptibility raster and a point shapefile (can be trainning/valid or complete). One read, raster values are extracted from each point location. Finaly a df is build with unique postprob values of points set and their count.

Usage

extract_shape_postprob(path, name_shape, name_rast_postprob)

Arguments

path

folder path where raster is saved

name_shape

name of point shapefile

name_rast_postprob

name of susceptibility raster

Value

a data frame of unique postprob values and count of points

Author(s)

Melody Premaillon


MelodyPremaillon/valwoe documentation built on April 16, 2022, 12:46 a.m.