StatDensityConfidence: Normal Theory Based Confidence Envelope for Density Helper...

StatDensityConfidenceR Documentation

Normal Theory Based Confidence Envelope for Density Helper Function

Description

This function creates a normal theory based confidence envelope for the empirical density.

Usage

StatDensityConfidence

Arguments

h

A normal kernel function is used and h is its standard deviation. If this parameter is omitted, a normal optimal smoothing parameter is used.

fill

Fill color for the confidence envelope. The default is fill="skyblue"

model

The model to draw the confidence envelope for. The default is model="none" which creates the confidence envelope from the data. Using model="normal" creates the confidence envelope based on a normal distribution.

Format

An object of class StatDensityConfidence (inherits from Stat, ggproto, gg) of length 4.


zief0002/educate documentation built on July 27, 2023, 9:25 a.m.