Learn R Programming

mappeR (version 2.0.2)

create_bins: Create bins of data

Description

Create bins of data

Usage

create_bins(data, filtered_data, cover_element_tests)

Value

A list of level sets, each containing a vector of the names of the data inside it.

Arguments

data

A data frame.

filtered_data

The result of a function applied to the data frame; there should be one filter value per observation in the original data frame.

cover_element_tests

A list of membership test functions for a set of cover elements. In other words, each element of cover_element_tests is a function that returns TRUE or FALSE when given a filter value.