as.FuzzySet | R Documentation |
FuzzySet
/FuzzyTuple
Coerces object to an R6 FuzzySet/FuzzyTuple
as.FuzzySet(object)
## S3 method for class 'numeric'
as.FuzzySet(object)
## S3 method for class 'list'
as.FuzzySet(object)
## S3 method for class 'matrix'
as.FuzzySet(object)
## S3 method for class 'data.frame'
as.FuzzySet(object)
## S3 method for class 'Set'
as.FuzzySet(object)
## S3 method for class 'FuzzySet'
as.FuzzySet(object)
## S3 method for class 'Interval'
as.FuzzySet(object)
## S3 method for class 'ConditionalSet'
as.FuzzySet(object)
as.FuzzyTuple(object)
## S3 method for class 'numeric'
as.FuzzyTuple(object)
## S3 method for class 'list'
as.FuzzyTuple(object)
## S3 method for class 'matrix'
as.FuzzyTuple(object)
## S3 method for class 'data.frame'
as.FuzzyTuple(object)
## S3 method for class 'Set'
as.FuzzyTuple(object)
## S3 method for class 'FuzzySet'
as.FuzzyTuple(object)
## S3 method for class 'Interval'
as.FuzzyTuple(object)
## S3 method for class 'ConditionalSet'
as.FuzzyTuple(object)
as.FuzzyMultiset(object)
## S3 method for class 'numeric'
as.FuzzyMultiset(object)
## S3 method for class 'list'
as.FuzzyMultiset(object)
## S3 method for class 'matrix'
as.FuzzyMultiset(object)
## S3 method for class 'data.frame'
as.FuzzyMultiset(object)
## S3 method for class 'Set'
as.FuzzyMultiset(object)
## S3 method for class 'FuzzySet'
as.FuzzyMultiset(object)
## S3 method for class 'Interval'
as.FuzzyMultiset(object)
## S3 method for class '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.
FuzzySet FuzzyTuple
Other coercions:
as.Interval()
,
as.Set()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.