plot_roc | R Documentation |
Plot Rate-of-Change sequence with a error estimate and trend and/or peak-points in present.
plot_roc(
data_source,
age_threshold = NULL,
roc_threshold = NULL,
peaks = FALSE,
trend = NULL
)
data_source |
Data.frame. Output of |
age_threshold |
Numeric. Cut-off value used as maximum age. |
roc_threshold |
Numeric Cut-off value used as maximum RoC value. |
peaks |
Logical. If peak-points are presented in the dataset and |
trend |
If peak-points are presented in the dataset and
|
## Not run:
example_data <- RRatepol::example_data
# example 1
sequence_01 <-
estimate_roc(
data_source_community = example_data$pollen_data[[1]],
data_source_age = example_data$sample_age[[1]],
age_uncertainty = FALSE,
smooth_method = "shep",
working_units = "MW",
rand = 1e3,
treads = TRUE,
dissimilarity_coefficient = "chisq"
)
plot_roc(
sequence_01,
age_threshold = 8e3,
roc_threshold = 1
)
# example 2
sequence_02 <-
estimate_roc(
data_source_community = example_data$pollen_data[[2]],
data_source_age = example_data$sample_age[[2]],
age_uncertainty = FALSE,
smooth_method = "shep",
working_units = "MW",
rand = 1e3,
treads = TRUE,
dissimilarity_coefficient = "chisq"
)
sequence_02_peak <-
detect_peak_points(sequence_01, sel_method = "trend_non_linear")
plot_roc(
sequence_02_peak,
age_threshold = 8e3,
roc_threshold = 2,
peaks = TRUE,
trend = "trend_non_linear"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.