Coerces object to an R6 FuzzySet/FuzzyTuple
as.FuzzySet(object) # S3 method for numeric as.FuzzySet(object) # S3 method for list as.FuzzySet(object) # S3 method for matrix as.FuzzySet(object) # S3 method for data.frame as.FuzzySet(object) # S3 method for Set as.FuzzySet(object) # S3 method for FuzzySet as.FuzzySet(object) # S3 method for Interval as.FuzzySet(object) # S3 method for ConditionalSet as.FuzzySet(object) as.FuzzyTuple(object) # S3 method for numeric as.FuzzyTuple(object) # S3 method for list as.FuzzyTuple(object) # S3 method for matrix as.FuzzyTuple(object) # S3 method for data.frame as.FuzzyTuple(object) # S3 method for Set as.FuzzyTuple(object) # S3 method for FuzzySet as.FuzzyTuple(object) # S3 method for Interval as.FuzzyTuple(object) # S3 method for ConditionalSet as.FuzzyTuple(object) as.FuzzyMultiset(object) # S3 method for numeric as.FuzzyMultiset(object) # S3 method for list as.FuzzyMultiset(object) # S3 method for matrix as.FuzzyMultiset(object) # S3 method for data.frame as.FuzzyMultiset(object) # S3 method for Set as.FuzzyMultiset(object) # S3 method for FuzzySet as.FuzzyMultiset(object) # S3 method for Interval as.FuzzyMultiset(object) # S3 method for ConditionalSet as.FuzzyMultiset(object)
object | object to coerce |
---|
as.FuzzySet.list
- Assumes list
has two items, named elements
and membership
,
and that they are ordered to be corresponding.
as.FuzzySet.matrix
- Assumes first column corresponds to elements
and second column
corresponds to their respective membership
.
as.FuzzySet.data.frame
- First checks to see if one column is called elements
and the
other is called membership
. If not then uses as.FuzzySet.matrix
.
as.FuzzySet.Set
- Creates a FuzzySet by assuming Set elements all have membership
equal to \(1\).
as.FuzzySet.Interval
- First tries coercion via as.Set.Interval then uses
as.FuzzySet.Set.
Other coercions:
as.Interval()
,
as.Set()