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))

QCAtools documentation built on May 29, 2017, 6:17 p.m.

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