skeweDF_auto: SkeweDF Auto Helper Function

Description Usage Arguments

View source: R/SkeweDF_functions.R

Description

This function will automatically optimize parameters for an empirical dataset given a model function and generate plots and tables

Usage

 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
)

Arguments

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.


SkeweDF documentation built on Jan. 16, 2021, 5:38 p.m.