Count.Results: counts the number of outcomes that satisfied a given...

Description Usage Arguments Value

Description

counts the number of outcomes that satisfied a given criterion.

Usage

1
2
## S3 method for class 'Results'
count(self, fun = function(x) TRUE)

Arguments

fun

(outcome -> bool): A function that takes in an outcome and returns a True / False. Only the outcomes that return True will be counted.

Value

int: The number of outcomes for which the function returned True.


hayate0304/Rsymbulate documentation built on May 17, 2019, 8:20 a.m.