lastResult: Recover an unsaved simulation

Description Usage See Also Examples

View source: R/oops.R

Description

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.

Usage

1

See Also

.Last.value

Examples

1
2
3
fm1 <- lmer(y ~ x + (1|g), data=simdata)
powerSim(fm1, nsim=10)
ps1 <- lastResult()

simr documentation built on Jan. 29, 2019, 9:04 a.m.