sim_summary: Print simulation summary

Description Usage Arguments See Also Examples

View source: R/simulater.R

Description

Print simulation summary

Usage

1
sim_summary(dataset, dc = get_class(dataset), fun = "", dec = 4)

Arguments

dataset

Simulated data

dc

Variable classes

fun

Summary function to apply

dec

Number of decimals to show

See Also

simulater to run a simulation

repeater to run a repeated simulation

Examples

1
2
3
4
5
6
7
simulater(
  const = "cost 3",
  norm = "demand 2000 1000",
  discrete = "price 5 8 .3 .7",
  form = c("profit = demand * (price - cost)", "profit5K = profit > 5000"),
  seed = 1234
) %>% sim_summary()

radiant-rstats/radiant.model documentation built on Nov. 13, 2018, 7 a.m.