View source: R/SkeweDF_functions.R
This function will automatically optimize parameters for an empirical dataset given a model function and generate plots and tables
1 2 3 4 5 6 7 8 9 10 | skeweDF_auto(
title = "Dataset",
data,
xlab = "Random Variable",
param_bounds,
model_fn_name,
left_trunc = 1,
right_trunc = left_trunc + length(data) - 1,
n_cores = 1
)
|
title |
Character vector indicating title of the empirical dataset, this will be present on every plot, this also determines the name of the folder where plots will be |
data |
Vector of observed values |
xlab |
Character vector indicating x axis label of plots, indicates what the random variable is |
param_bounds |
A list of sequences which indicate space where parameters should be generated and fit |
model_fn_name |
Character vector used to indicate name of model function used for optimization |
left_trunc |
Int used to determine starting index of model to use for optimization |
right_trunc |
Int used to determine ending index of model to use for optimization |
n_cores |
Integer used to indicate number of cores to be used for this function if a socket cluster object is not defined. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.