Description Usage Arguments Value Author(s) Examples

These functions perform logical operations `AND`

and `OR`

, for binary crisp or fuzzy
set membership scores.

1 2 3 |

`...` |
Two or more numerical (calibrated) objects containing membership scores, or a matrix / data frame of calibrated columns. |

`na.rm` |
Logical, indicating whether missing values should be removed. |

`use.tilde` |
Logical, construct the expression in the |

A numerical vector of class `"fuzzy"`

, with a `name`

attribute expression

Adrian Dusa

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ```
# -----
# Cebotari & Vink (2013, 2015)
data(CVF)
# DEMOC*GEOCON*NATPRIDE
with(CVF, fuzzyand(DEMOC, GEOCON, NATPRIDE))
# same thing with
fuzzyand(CVF[, c(1,3,5)])
# DEMOC*geocon*NATPRIDE
fa <- with(CVF, fuzzyand(DEMOC, 1 - GEOCON, NATPRIDE))
fa
attr(fa, "name")
# ETHFRACT + POLDIS
with(CVF, fuzzyor(ETHFRACT, POLDIS))
# same thing with
fuzzyor(CVF[, c(2,4)])
# ETHFRACT + poldis
fo <- with(CVF, fuzzyor(ETHFRACT, 1 - POLDIS))
fo
attr(fo, "name")
# ETHFRACT + ~POLDIS
fo <- with(CVF, fuzzyor(ETHFRACT, 1 - POLDIS, use.tilde = TRUE))
attr(fo, "name")
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.