Description Usage Arguments Value Author(s) Examples
Combine a list of MUS objects into a single object. Typical use case is to group multiple strata into a single object. Works with MUS.planning.result, MUS.extraction.result and MUS.evaluation.result objects.
1 | MUS.combine(object.list)
|
object.list |
A list of MUS.planning.result, MUS.extraction.result and MUS.evaluation.result objects. |
An object of the same type of the first item in the list is returned containing an aggregation of the objects in the list.
Andre Guimaraes <alsguimaraes@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 | ## Simple Example
# Assume 500 invoices, each between 1 and 1000 monetary units
stratum.1 <- data.frame(book.value=round(runif(n=500, min=1, max=1000)))
plan.1 <- MUS.planning(data=stratum.1, tolerable.error=100000, expected.error=20000)
stratum.2 <- data.frame(book.value=round(runif(n=500, min=1, max=1000)))
plan.2 <- MUS.planning(data=stratum.2, tolerable.error=100000, expected.error=20000)
plan.combined <- MUS.combine(list(plan.1, plan.2))
print(plan.combined)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.