Learn R Programming

WordPools (version 1.2.0)

within: Select observations within a given range

Description

This function masks `base::within` and so is no longer exported. Eventually it will be removed.

Usage

within(x, a, b)

Value

A logical vector of the same length as x

Arguments

x

A vector

a

Lower limit

b

Upper limit

Examples

Run this code
WordPools:::within(1:10, 2, 5)

Run the code above in your browser using DataLab