View source: R/simulate_feature_data.R
| simulate_feature_data | R Documentation |
Simulate feature data for developing simulated survey schemes.
simulate_feature_data(n_features, proportion_of_survey_features = 1)
n_features |
|
proportion_of_survey_features |
|
A tibble::tibble() object. It contains the following
data:
namecharacter name of each feature.
surveylogical (TRUE / FALSE) values
indicating if each feature should be examined in surveys or not.
survey_sensitivitynumeric sensitivity (true positive
rate) of the survey methodology for each features.
survey_specificitynumeric specificity (true negative
rate) of the survey methodology for each features.
model_sensitivitynumeric specificity (true positive
rate) of the occupancy models for each features.
model_specificitynumeric specificity (true negative
rate) of the occupancy models for each features.
targetnumeric target values used to parametrize
the conservation benefit of managing of each feature (defaults to 1).
simulate_site_data()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.