Description Usage Arguments Examples
View source: R/post.analyses.plotting.r
A plot of slopes over time with a gam trend run through them. The GAM is from mgcv with defaults.
1 | slope.slider.f(CLF.object, min.len = 0, max.len = 10^6)
|
min.len |
the minimum length to consider in the plot and for the linear model trend |
max.len |
the maximum length to consider in the plot and for the linear model trend |
x |
a CLFab class object which results from fitting linear models to length frequencies with the function CLF.lm.fit |
1 2 3 | library(manipulate)
tmp= CLF.f("all")
manipulate(slope.slider.f(tmp, min.len=x.min, max.len=x.max), x.min= slider(1,35),x.max= slider(70,150))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.