Learn R Programming

gofMC (version 1.1.2)

plotpdf: Plot PDF

Description

Plots the Probability Density Function

Usage

plotpdf(dof, order = 5, dist = rnorm, fitmetric = R2, ...)

Arguments

dof
an integer
order
a real number
dist
a random number distribution function
fitmetric
a character string naming a standard fit metric (R2, rmse, or user)
...
any argument that functions within this routine might use

Value

ggplot object

Examples

Run this code
plotpdf(5, dist=runif, fitmetric=rmse)

Run the code above in your browser using DataLab