Probability calculator for the uniform distribution

prob_unif(min, max, lb = NA, ub = NA, plb = NA, pub = NA, dec = 3)

Arguments

min

Minimum value

max

Maximum value

lb

Lower bound (default = 0)

ub

Upper bound (default = 1)

plb

Lower probability bound

pub

Upper probability bound

dec

Number of decimals to show

Details

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

See also

summary.prob_unif to summarize results

plot.prob_unif to plot results

Examples

prob_unif(min = 0, max = 1, ub = 0.3)
#> $stdev #> [1] 0.2886751 #> #> $mean #> [1] 0.5 #> #> $v_lb #> [1] NA #> #> $v_ub #> [1] NA #> #> $p_int #> [1] NA #> #> $p_lb #> [1] NA #> #> $p_ub #> [1] 0.3 #> #> $min #> [1] 0 #> #> $max #> [1] 1 #> #> $lb #> [1] NA #> #> $ub #> [1] 0.3 #> #> $plb #> [1] NA #> #> $pub #> [1] NA #> #> $dec #> [1] 3 #> #> attr(,"class") #> [1] "prob_unif" "list"