View source: R/temperature-responce-curve.R
predict_temperature_values | R Documentation |
This function takes a list of models and generates a sequence of temperature values that span the range of input temperatures.
predict_temperature_values(models, temp_range)
models |
A list of models where each element represents a model object containing coefficients. |
temp_range |
the temperature range to be used for predictions from the function define_temperature_ranges |
A data frame containing the predicted PAM values for each temperature along with their corresponding grouping property. Each row represents a model's predicted PAM value and its associated grouping property and confidence interval.
data(cbass_dataset)
preprocessed_data <- preprocess_dataset(cbass_dataset)
models <- fit_drms(preprocessed_data,
c("Site", "Condition", "Species", "Timepoint"),
"Pam_value ~ Temperature", is_curveid = TRUE)
temp_ranges <- define_temperature_ranges(cbass_dataset$Temperature, n = 100)
predict_temperature_values(models, temp_ranges)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.