Learn R Programming

truelies (version 0.2.0)

print.densityFunction: Print/plot an object of class densityFunction.

Description

Print/plot an object of class densityFunction.

Usage

# S3 method for densityFunction
print(x, ...)

# S3 method for densityFunction plot(x, ...)

Arguments

x

The object

...

Unused

Examples

Run this code
# NOT RUN {
d1 <- update_prior(33, 50, P = 0.5, prior = stats::dunif)
d1
plot(d1)

# show the actual R code (techies only)
unclass(d1)

# }

Run the code above in your browser using DataLab