drop1_quants: Drop-1 Quantiles

Description Usage Arguments Value Examples

View source: R/drop1_quants.R

Description

This function will input

Usage

1
drop1_quants(x, dfDropPoints)

Arguments

x

a column of data

dfDropPoints

the observation to be dropped

Value

orderedObs a vector containing the entered data, in ascending order, with the specified observation dropped

probabilityLevels a vector containing the probability level for each ordered observation, calculated with the specified observation dropped

stndNormQuant the standard normal quantile, used for creating a QQ-Plot, calculated with the specified observation dropped

Examples

1
2
3
4
5
6
x <- 1:10
qq <- q_quantiles(x)
qd <- qq$stndNormQuant[1] # the observation to be dropped
xd <- qq$orderedObs[1]
dfDrop <- data.frame(xj = 1325, qj = qd)
drop1_quants(x = x, dfDropPoints = dfDrop)

leahpom/MATH5793POMERANTZ documentation built on May 10, 2021, 9:52 a.m.