boolean: And

Description Usage Arguments Value Examples

Description

Logical 'and' of two conditions

Logical 'or' of two conditions

Logical 'not' of a condition

Usage

1
2
3
4
5
and(v1, v2)

or(v1, v2)

not(v)

Arguments

v1

A vector of fuzzy set scores of cases

v2

A vector of fuzzy set scores of cases

v

A vector of fuzzy set scores of cases

Value

the fuzzy set scores of the logical conjunction of v1 and v2 for each case, i.e. the minimum in each component

the fuzzy set scores of the logical disjunction of v1 and v2 for each case, i.e. the maximum in each component

the fuzzy set scores of the negation of v for each case, i.e. 1-v

Examples

1
2
3
and(c(0,0.5,1), c(0.25, 0.75, 0.75))
or(c(0,0.5,1), c(0.25, 0.75, 0.75))
not(c(0,0.5,1))


Search within the QCAtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.