Coerces object to an R6 Set/Tuple

as.Set(object)

# S3 method for default
as.Set(object)

# S3 method for numeric
as.Set(object)

# S3 method for list
as.Set(object)

# S3 method for matrix
as.Set(object)

# S3 method for data.frame
as.Set(object)

# S3 method for Set
as.Set(object)

# S3 method for FuzzySet
as.Set(object)

# S3 method for Interval
as.Set(object)

# S3 method for ConditionalSet
as.Set(object)

as.Tuple(object)

# S3 method for default
as.Tuple(object)

# S3 method for numeric
as.Tuple(object)

# S3 method for list
as.Tuple(object)

# S3 method for matrix
as.Tuple(object)

# S3 method for data.frame
as.Tuple(object)

# S3 method for FuzzySet
as.Tuple(object)

# S3 method for Set
as.Tuple(object)

# S3 method for Interval
as.Tuple(object)

# S3 method for ConditionalSet
as.Tuple(object)

as.Multiset(object)

# S3 method for default
as.Multiset(object)

# S3 method for numeric
as.Multiset(object)

# S3 method for list
as.Multiset(object)

# S3 method for matrix
as.Multiset(object)

# S3 method for data.frame
as.Multiset(object)

# S3 method for FuzzySet
as.Multiset(object)

# S3 method for Set
as.Multiset(object)

# S3 method for Interval
as.Multiset(object)

# S3 method for ConditionalSet
as.Multiset(object)

Arguments

object

object to coerce

Details

  • as.Set.default - Creates a Set using the object as the elements.

  • as.Set.list - Creates a Set for each element in list.

  • as.Set.matrix/as.Set.data.frame - Creates a Set for each column in matrix/data.frame.

  • as.Set.FuzzySet - Creates a Set from the support of the FuzzySet.

  • as.Set.Interval - If the interval has finite cardinality then creates a Set from the Interval elements.

See also

Set Tuple

Other coercions: as.FuzzySet(), as.Interval()