Linguistic Fuzzy Logic
Overview
Various algorithms related to linguistic fuzzy logic: mining for linguistic fuzzy association rules, composition of fuzzy relations, performing Mamdani, implicative, and perception-based logical deduction (PbLD), and forecasting time-series using fuzzy rule-based ensemble (FRBE). The package also contains basic fuzzy-related algebraic functions capable of handling missing values in different styles (Bochvar, Sobocinski, Kleene etc.), computation of Sugeno integrals and the fuzzy transform.
- released: 2026-07-03
- added upperBound() algebra for missing values
- added infer() function for Mamdani and implicative inference
- fixed bugs
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: lfl/R/frbemodel.R (.Names: 8, .Dim: 4, .Dimnames: 4) lfl/tests/testthat/test-lingexpr.R (.Names: 4) '.Names' should be changed to 'names'. '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
- NOTE13 OK, 1 NOTE2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 NOTE, 1 ERROR2026-04-18
- NOTE13 OK, 1 NOTE2026-03-10
Documentation
- Help pages
- 56 (1 internal)includes a package overview page
- Examples that run
- 100%37 run in a plain check
- Exported functions with examples
- 70%
- Documented parameters
- 94%
- Return-value docs
- 95%
- Help pages citing references
- 20%
Downloads
Dependencies
Installing lfl adds 44 packages (27 with compiled code, 26 MB of source tarballs). Heaviest: ggplot2 6.0 MB, colorspace 2.0 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.4.0Latest
- RR 4.6.0 released · 2026-04-24
- 2.3.12025-12-16 · diff ↗
- 2.3.0
- RR 4.5.0 released · 2025-04-11
- 2.2.12024-10-22 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.2.0
- RR 4.2.0 released · 2022-04-22
- 2.1.22021-08-23 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.1.12020-11-04 · diff ↗
- 2.1.02020-10-15 · diff ↗ ·
removed 3 exports
lcut3, lcut5, raisedcosinaladded 5 exports
lowerEst, nelson, quantifier, raisedcosine, sugeno - 2.0.12020-05-19 · diff ↗
- RR 4.0.0 released · 2020-04-24
Show 16 earlier eventsHide 16 earlier events
- 2.02020-02-11 · diff ↗ ·
removed 26 exports
as.data.frame.farules, as.matrix.fsets, cbind.fsets, fcut.data.frame, fcut.default, fcut.matrix, fcut.numeric, head.farules, head.fsets, lcut3.data.frame, lcut5.data.frame, lcut3.default, lcut5.default, lcut3.matrix, lcut5.matrix, lcut3.numeric, lcut5.numeric, plot.fsets, print.farules, print.frbe, print.fsets, sel.farules, sel.fsets, sel, tail.farules, tail.fsetsadded 26 exports
specs<-, vars<-, allowed.lingexpr, as.ctx3, as.ctx3bilat, as.ctx5, as.ctx5bilat, ctx3, ctx3bilat, ctx5, ctx5bilat, defaultHedgeParams, dragonfly, hedge, horizon, is.ctx3, is.ctx3bilat, is.ctx5, is.ctx5bilat, kleene, lcut, lingexpr, minmax, raisedcosinal, sobocinski, triangular - RR 3.6.0 released · 2019-04-26
- unarchivedReturned to CRAN2018-08-01
- 1.4.22018-08-01 · diff ↗
- archivedRemoved from CRAN2018-07-30memory-access errors were not corrected despite reminder
- RR 3.5.0 released · 2018-04-23
- 1.4.12018-04-12 · diff ↗
- 1.42017-04-25 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 79 exports
aggregateConsequents, algebra, antecedents, as.data.frame.farules, as.matrix.fsets, cbind.fsets, compose, consequents, defuzz, evalfrbe, farules, fcut.data.frame, fcut.default, fcut.matrix, fcut.numeric, fcut, fire, frbe, fsets, head.farules, head.fsets, is.algebra, is.farules, is.frbe, is.fsets, is.specific, lcut3.data.frame, lcut5.data.frame, lcut3.default, lcut5.default and 49 more - RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.32016-04-22 · diff ↗
- 1.22015-06-18 · diff ↗
- 1.12015-06-03 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.02015-01-15
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2015-01-15
- Total releases
- 17 / 11 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6
- Download size
- 519 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("lfl")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.fss.2021.07.007.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.