Learn R Programming

AssocBin (version 1.1-0)

makeCriteria: Make stop crteria

Description

Capture a sequence of logical statements and append them into a single expression.

Usage

makeCriteria(...)

Value

A string which appends all expressions together.

Arguments

...

an arbitrary number of expressions which evaluate to logicals

Author

Chris Salahub

Details

This function, along with `stopper` dictates the stop behaviour of recursive binning. It accepts an arbitrary number of arguments, each a logical statement, and appends them all into a string separated by the pipe character.

Examples

Run this code
makeCriteria(depth >= 5, n < 1)

Run the code above in your browser using DataLab