lastResult | R Documentation |
Simulations can take a non-trivial time to run. If the user forgets to assign the result to a variable this method can recover it.
lastResult()
.Last.value
fm1 <- lmer(y ~ x + (1|g), data=simdata)
powerSim(fm1, nsim=10)
ps1 <- lastResult()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.