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

Description Usage Arguments Value Author(s) See Also

View source: R/fsets.R

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

1
2
3
4
5
## 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()


beerda/lfl documentation built on Oct. 17, 2020, 8:57 p.m.