Learn R Programming

pAnalysis (version 1.0)

plotpdf: Plot Several Probability Density Functions

Description

Plots the probability density function for a given number of degrees of freedom (dof) and a noise distribution function

Usage

plotpdf(dof, order = 4, dist = "normal", ...)

Arguments

dof
the number of degrees of freedom
order
the order of magnitude of the number of samples desired for the plot
dist
the noise distribution function. "normal" by default)
...
other arguments used in calls to pcdfs()

Value

  • The output of plotpdf is a ggplot object

Examples

Run this code
plt <- plotpdf(3)
	plt <- plotpdf(5,order=6)

Run the code above in your browser using DataLab