Plot the fitted trajectories as represented by the given model

plotFittedTrajectories(object, ...)

# S4 method for class 'lcModel'
plotFittedTrajectories(object, ...)

Arguments

object

The model.

...

Arguments passed to fittedTrajectories() and plotTrajectories.

Value

A ggplot object.

Examples

data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model <- latrend(method, latrendData, nClusters = 3)

if (require("ggplot2")) {
  plotFittedTrajectories(model)
}