qq_abline_intersect: y-Intercept of Theoretical Normal Distribution

Description Usage Arguments Value See Also Examples

View source: R/qq_abline_intersect.R

Description

Function to calculate the y-intercept of the theoretical normal distribution for a vector of numbers. This can be used to visually compare actual vs. theoretical values to make an interpretation on whether a sample of numbers is likely driven from a normally distributed population. Calculations are largely inspired from stats::qqline function. This can be used with ggplot2::geom_qq to create a Q-Q plot.

Note: Requires a slope to be provided, otherwise uses qq_abline_slope to calculate it (but will not return slope).

Usage

1

Arguments

x

A numeric vector

Value

An integer corresponding to a y-intercept

See Also

qq_abline_slope

ggplot2::geom_qq

stats::qqline

Examples

1

peconeto/safetydata documentation built on May 24, 2019, 6:14 a.m.