plot_model: Plot modeled cross section

Description Usage Arguments Details Examples

Description

Computes modeled bed elevation and plots the cross section

Usage

1
plot_model(model, type, WSEw = NULL, add = FALSE, ...)

Arguments

type

Either "linear", "sb", "sbm", "nl", or "nlsb"

WSEw

required for nonlinear models

add

TRUE to add plot to current figure, FALSE to create a new figure. Default is FALSE

...

additional parameters for plot or lines

Details

Eventually, it might make sense for this to return the x and b values in list similar to cross_sections from auto_transects

Examples

1
2
plot(cross_sections$x[[2]], cross_sections$b[[2]], type = "l")
plot_model(lf1, type = "linear", col = "red", add = TRUE)

jschap1/WSEw documentation built on May 12, 2019, 10:50 a.m.