Learn R Programming

lfl (version 2.2.0)

as.data.frame.fsets: Convert an object of fsets class into a matrix or data frame This function converts an instance of S3 class fsets into a matrix or a data frame. The vars() and specs() attributes of the original object are deleted.

Description

Convert an object of fsets class into a matrix or data frame This function converts an instance of S3 class fsets into a matrix or a data frame. The vars() and specs() attributes of the original object are deleted.

Usage

# S3 method for fsets
as.data.frame(x, ...)

# S3 method for fsets as.matrix(x, ...)

Value

A numeric matrix or data frame of membership degrees.

Arguments

x

An instance of class fsets to be converted

...

arguments further passed to as.data.frame after converting to matrix in as.data.frame.fsets. Unused in as.matrix.fsets.

Author

Michal Burda

See Also

fsets(), fcut(), lcut()