students_t_tail_plots: Student's t Density Plot with Tail Areas

Description Usage Arguments See Also

Description

Plot of the Student's t distribution density function, with typical defaults used in introducing normal distributions, and tail areas shaded.

Usage

1
2
3
4
5
students_t_tail_plot_q(q, df, mean = 0, scale = 1, lower.tail = TRUE,
  two.sided = FALSE, area_opts = list(), max.scale = 4, ...)

students_t_tail_plot_p(p, df, mean = 0, scale = 1, lower.tail = TRUE,
  two.sided = FALSE, ...)

Arguments

q

Quantile to use for the tails

df

Degrees of freedom

mean

Location

scale

Scale

lower.tail

logical; if TRUE, probabilities are P(X ≤q x), else probabilities are P(X > x).

two.sided

logical; if TRUE, two-sided tails. The tails are are at c(-q, q) if quantiles are used, and at the quantiles such that P(X ≤q x) = p and P(X > x) if probabilities are used.

area_opts

list. Arguments passed to geom_dt_area

max.scale

The x-axis of the plot is mean + c(-1, 1) * max.scale * scale .

...

Arguments passed to geom_dt_line.

p

Probabilities of the tail areas

See Also

Other Plots.of.the.t.distribution: geom_dt_area; geom_dt_line; students_t_area_plot_p, students_t_area_plot_q; students_t_plot


jrnold/ShinyIntroStats documentation built on May 19, 2019, 11:55 p.m.