sim_summary {radiant.model} | R Documentation |
Print simulation summary
Description
Print simulation summary
Usage
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
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()
[Package radiant.model version 1.6.6 Index]