estims_boxplot {EstimDiagnostics}R Documentation

Boxplot of estimates

Description

Plot boxplots of estimators for different sample sizes.

Usage

estims_boxplot(data, sep = FALSE)

Arguments

data

data frame returned by Estim_diagnost

sep

indicates whether all plots will be stacked together or returned as elements of a list

Value

ggplot2 object

Examples

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)

[Package EstimDiagnostics version 0.0.3 Index]