Convert lfda::lfda or lfda::klfda or lfda::self to data.frame

Description

Convert lfda::lfda or lfda::klfda or lfda::self to data.frame

Usage

1
2
## S3 method for class 'lfda'
fortify(model, data = NULL, ...)

Arguments

model

lfda::lfda or lfda::klfda or lfda::self instance

data

original dataset, if needed

...

other arguments passed to methods

Value

data.frame

Examples

1
2
3
4
5
## Not run: 
model <- lfda::lfda(iris[, -5], iris[, 5], 3, metric = "plain")
fortify(model)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.