Description Usage Arguments Value Examples
View source: R/estim_diagnostics.R
Plot boxplots of estimators for different sample sizes.
1 | estims_boxplot(data, sep = FALSE)
|
data |
data frame returned by |
sep |
indicates whether all plots will be stacked together or returned as elements of a list |
ggplot2 object
1 2 3 4 5 6 7 8 9 10 11 | Nmc=400
s<-seq(from = 1, to = 10, by = 2)*1e3
Inference<-function(s){
rrr<-rnorm(n=s)
list(Mn=mean(rrr), Sd=sd(rrr))
}
data <- Estim_diagnost(Nmc, s, Inference)
estims_boxplot(data)
estims_boxplot(data, sep=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.