filterByCriteria: Filters a list of rate models based on a boolean expression...

View source: R/asr_diagnostics.R

filterByCriteriaR Documentation

Filters a list of rate models based on a boolean expression expressing filtering criteria

Description

Filters a list of rate models based on a boolean expression expressing filtering criteria

Usage

filterByCriteria(models, criteria)

Arguments

models

a list of rate models

criteria

a function that is passed to sapply specifying the desired criteria to filter by. It should take one argument, a rate model, and should be a boolean expression expressing criteria for the rate model.

Value

returns a subset of the list of rate models that match the criteria specified in the criteria function


nclark-lab/RERconverge documentation built on March 2, 2024, 8:51 a.m.