as.data.frame.fsets {lfl}R Documentation

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 class 'fsets'
as.data.frame(x, ...)

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

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.

Value

A numeric matrix or data frame of membership degrees.

Author(s)

Michal Burda

See Also

fsets(), fcut(), lcut()


[Package lfl version 2.2.0 Index]