simulate_feature_data: Simulate feature data

Description Usage Arguments Value See Also Examples

View source: R/simulate_feature_data.R

Description

Simulate feature data for developing simulated survey schemes.

Usage

1
simulate_feature_data(n_features, proportion_of_survey_features = 1)

Arguments

n_features

integer number of features.

proportion_of_survey_features

numeric proportion of features that will be examined in the new surveys. Values must be between zero and one. Defaults to 1 such that all features should be surveyed.

Value

tibble::tibble() object. It contains the following data:

name

character name of each feature.

survey

logical (TRUE / FALSE) values indicating if each feature should be examined in surveys or not.

survey_sensitivity

numeric sensitivity (true positive rate) of the survey methodology for each features.

survey_specificity

numeric specificity (true negative rate) of the survey methodology for each features.

model_sensitivity

numeric specificity (true positive rate) of the occupancy models for each features.

model_specificity

numeric specificity (true negative rate) of the occupancy models for each features.

target

numeric target values used to parametrize the conservation benefit of managing of each feature (defaults to 1).

See Also

simulate_site_data()

Examples

1
2
3
4
5
6
7
8
# set seed for reproducibility
set.seed(123)

# simulate data
d <- simulate_feature_data(n_features = 5,
                           proportion_of_survey_features = 0.5)
# print data
print(d, width = Inf)

surveyvoi documentation built on May 31, 2021, 9:07 a.m.