Description Usage Arguments Details Value Author(s) See Also Examples
The FuzzyHits
class extends the Hits
class to represent hits that are associated with different grades of membership in the interval [0,1]
.
1 2 |
from, to |
Two integer vectors of the same length.
The values in |
membership |
Numeric. Vector of numeric membership function in the range |
nLnode, nRnode |
Number of left and right nodes. |
... |
Arguments metadata columns to set on the |
This class does not define any additional slot to the Hits
class.
However, this class defines additional validity checks to ensure that every relation stored in a FuzzyHits
are associated with a numeric membership funtion in the interval [0,1]
.
A FuzzyHits
object.
Kevin Rue-Albrecht
1 2 3 4 5 6 7 8 | # Constructor ----
from <- c(5, 2, 3, 3, 3, 2)
to <- c(11, 15, 5, 4, 5, 11)
membership <- c(0, 0.1, 0.2, 0.3, 0.6, 0.8)
fh <- FuzzyHits(from, to, membership, 7, 15)
fh
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.