ggfortify (version 0.4.11)

fortify.lfda: 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

# S3 method for 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

Run this code
# NOT RUN {
model <- lfda::lfda(iris[, -5], iris[, 5], 3, metric = "plain")
fortify(model)
# }

Run the code above in your browser using DataLab