Plot the fitted trajectories as represented by the given model

plotFittedTrajectories(object, ...)

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

Arguments

object

The model.

...

Arguments passed on to fittedTrajectories, 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)
}