S3 method to force the use of the R6 method.

# S3 method for community_model
plot(x, ...)

Arguments

x

The model to plot.

...

Extra arguments passed to the plot method.

Details

This is a helper function to always use the R6 method rather than the S3 method: plot(MyModel) is translated to MyModel$plot.

Examples

myModel <- cm_drift$new(pattern_matrix_individuals(S=10))
plot(myModel)