plot.prob_disc: Plot method for the probability calculator (discrete)

Description Usage Arguments Details See Also Examples

View source: R/prob_calc.R

Description

Plot method for the probability calculator (discrete)

Usage

1
2
## S3 method for class 'prob_disc'
plot(x, type = "values", ...)

Arguments

x

Return value from prob_disc

type

Probabilities ("probs") or values ("values")

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/basics/prob_calc.html for an example in Radiant

See Also

prob_disc to calculate results

summary.prob_disc to summarize results

Examples

1
2
result <- prob_disc(v = 1:6, p = c(2/6, 2/6, 1/12, 1/12, 1/12, 1/12), pub = 0.95)
plot(result, type = "probs")

radiant.basics documentation built on Nov. 18, 2021, 9:07 a.m.