monticarleer: monticarleer

View source: R/monticarleer.R

monticarleerR Documentation

monticarleer

Description

Do a Monte Carlo simulation with a list of distribution proporties and a formula using them

Usage

monticarleer(
  prmlst,
  my.formula = "a * b ^ c",
  n = 1000,
  tbl_out = FALSE,
  plot = TRUE,
  nbin = 50,
  verbose = FALSE,
  saveplot = FALSE,
  fn = "mc_plot"
)

Arguments

prmlst

List with items of the class distlist

n

Integer. Number of samples to draw

tbl_out

Logical. Return the tibble

plot

Logical. Plot or not

nbin

Integer. Number of bins

saveplot

Logical. Save the plot to file or not

fn

Character. Filename (and path) to be used if saveplot = TRUE. Default to "mc_plot"


NovaInstitute/novaInventories documentation built on March 19, 2022, 2:36 a.m.