find_surrounding_pair: Find the two values within a vector that immediately surround...

Description Usage Arguments Value Examples

Description

This function is used in the checknormality function to mimic how you use a p-value chart.

Usage

1

Arguments

target

the value (i.e. the area under the curve); double or integer

x

a vector contain values (i.e. the row in the p-value chart corresponding to n); double or integer corresponding to target

Value

a list with positions of the values within the vector and the values in those positions

Examples

1
find_surrounding_pair (5, 1:10)

chrsshn/checknormality documentation built on Dec. 31, 2020, 10:01 p.m.