as.data.frame.fsets: Convert an object of 'fsets' class into a matrix or data...

View source: R/fsets.R

as.data.frame.fsetsR 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()


lfl documentation built on Sept. 8, 2022, 5:08 p.m.