around: Find the Values Around a Particular Value

Description Usage Arguments Value Author(s) Examples

View source: R/around.R

Description

Find the location of values around a specified value

Usage

1
  around(x, value)

Arguments

x

a vector.

value

specified value

Value

lo the maximum value of x that is less than or equal to the value parameter.

hi the minimum value of x that is greater than or equal to the value parameter.

Author(s)

Tyler Hunt tyler@psychoanalytix.com

Examples

1
2
x = rnorm(50, 3, 7)
value = 15

JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.