Creates a 3D plot to visualize degradation loss for different units across time and cycles.
Usage
path.3D.plot(model, units = 10, time = t, cycles = u, loss = sim_dat$Y_t)
Arguments
- model
Character string specifying the model type (e.g., "M0", "M1", "M2").
- units
Integer specifying the number of units to plot.
- time
Numeric vector representing the time data.
- cycles
Numeric vector representing the cycle data.
- loss
Matrix of loss values, typically from `sim_dat$Y_t`.
Value
A 3D plot using `plot_ly`.