View source: R/quantileValues.R
quantileValues | R Documentation |
Calculate Quantile Values with Optional Correction. This function calculates the quantile values for a given dataset and set of parameters, with the option to apply a correction. It returns a data frame containing the quantile values for each day.
quantileValues(
data,
N,
npop,
ntimes,
ngen = 1,
species,
depth,
daysDiff,
correction = TRUE
)
data |
A data frame containing the input data. |
N |
An integer representing the number of replicates to use in the simulation. |
npop |
An integer representing the population size. |
ntimes |
An integer representing the number of time steps in the simulation. |
ngen |
An integer representing the number of generations in the simulation (default is 1). |
species |
A character string specifying the species. |
depth |
A numeric value representing the depth. |
daysDiff |
An integer representing the difference in days between the start of the data and the start of the simulation. |
correction |
A logical value indicating whether to apply a correction (default is TRUE). |
A data frame containing the quantile values for each day with columns: day, ql (lower quantile), qu (upper quantile), and qm (median quantile).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.