show_prd3d {wqtrends} | R Documentation |
Plot a 3-d surface of predictions
Description
Plot a 3-d surface of predictions
Usage
show_prd3d(mod, ylab)
Arguments
mod |
input model object as returned by |
ylab |
chr string for y-axis label |
Value
a plotly
surface
Examples
library(dplyr)
# data to model
tomod <- rawdat %>%
filter(station %in% 34) %>%
filter(param %in% 'chl') %>%
filter(yr > 2015)
mod <- anlz_gam(tomod, trans = 'log10')
show_prd3d(mod, ylab = 'Chlorophyll-a (ug/L)')
[Package wqtrends version 1.4.2 Index]