calc_expected_: Calculate expected normal values for the given variable.

View source: R/utils_qc.R

calc_expected_R Documentation

Calculate expected normal values for the given variable.

Description

Calclate expected values from the normal distribution.

Usage

calc_expected_(data, observed)

Arguments

data

data frame.

observed

name of the variable of interest

Details

credits to: https://stackoverflow.com/questions/43217104/coloring-points-in-a-geom-qq-plot

Value

A data frame with the extra variable .expect.norm with the expected normal distribution values


PiotrTymoszuk/caretExtra documentation built on Oct. 15, 2023, 10:03 p.m.