fortify.lfda: Convert 'lfda::lfda' or 'lfda::klfda' or 'lfda::self' to...

View source: R/fortify_stats.R

fortify.lfdaR Documentation

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 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

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

## End(Not run)

ggfortify documentation built on May 29, 2024, 7:19 a.m.