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

# 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

if (FALSE) { # \dontrun{
model <- lfda::lfda(iris[, -5], iris[, 5], 3, metric = "plain")
fortify(model)
} # }