Skip to contents

Draw chi-squared distribution curve

Usage

draw_x2(q = NULL, p = 0.05, df = 2)

Arguments

q

vector of quantiles

p

vector of probabilities

df

degrees of freedom (non-negative, but can be non-integer).

Value

A ggplot

Examples

draw_x2(df=1)

draw_x2(q=0.78)