cfp: Cumulative Frequency Diagram

Description Usage Arguments Value

View source: R/cfp.R

Description

Plots a cumulative frequency diagram, a diagram comparable with a q-q- plot but with percentiles instead of quantiles on the x-axis.

Usage

1
cfp(d, prob = 0.95, graphtitle = "CFP")

Arguments

d

vector with data

prob

which percentile to indicate on graph, default is the 95th percentile

graphtitle

title of the graph

Value

a ggplot2 object

This function plots a Q-Q plot but instead of theoretical quantiles it plots against the theoretical percentile, using a normal distribution.

By default, this function indicates the values at the 95th percentile. Using the prob parameter, the percentile can be changed.

This function returns a ggplot2 object with the graph. This object can be extended using ggplot2's grammar.


rivm-syso/achtergrondwaarden documentation built on Jan. 22, 2020, 12:44 a.m.