Description Usage Arguments Examples
Objects of class momApp occur as results of function momApp
.
Their structure is described in the Details
section of the
documentation of momApp
. There are several methods to examine
such objects, namely print
, summary
, plot
, tail
and head
. Function addSimulation
adds moments that come from
simulated data to object$moments and adds a new element object$seeds
containing the vector with seeds
that were used for simulation. Adding
simulated moments makes it easy to compare the results, i.e. with
plot
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
x |
object of class |
multSim |
object of class |
plotorder |
numerical vector specifying the orders for which moments shall be plotted. |
vars |
character vector specifying the variables for which moments shall be plotted. |
... |
further arguments to the default method |
object |
object of class |
1 2 3 4 5 6 7 8 9 10 11 | data(genePolyBF)
a <- momApp(genePolyBF, maxorder = 4,
closure = c("normal", "zero", "lognormal"),
centralize = c(TRUE, FALSE, FALSE))
print(a)
summary(a)
data(genePdmpBF)
b <- addSimulation(a, multSim(genePdmpBF, seeds = 1:30))
tail(b)
plot(b, plotorder = c(1, 4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.