envelope_plot: Envelop of estimated bmop

Description Usage Arguments Value Examples

View source: R/4-comparison-functions.R

Description

This function plots various bmop estimations, from differents datasets.

Usage

1
2
envelope_plot(n = 100, N = 50, rtrue = rnorm, fun = bmop_fit,
  dtrue = dnorm, lwd = 3, type = "l", col.true = "red", ...)

Arguments

n

number of bmop densities to learn from different datasets

N

number of observations in every dataset

rtrue

function to generate samples, see rnorm

fun

a learning function of bmop as bmop_fit

dtrue

true density function, see dnorm

lwd

graphical par

type

graphical par

col.true

the color for the true density

...

additional parameters to be passed to rtrue and dtrue

Value

invisible()

Examples

1
envelope_plot(n=50,N=50,rtrue=rexp,dtrue=dexp)

gherardovarando/Rbmop documentation built on May 17, 2019, 4:17 a.m.