Description Usage Arguments Value
View source: R/plot_cycl_elev.R
Plot yearly cycles of moving average analysis and annual averages to visualize elevation dependency for multiple stations of different elevation categories.
| 1 2 3 4 | plot_cycl_elev(data_in, data_mk, data_in_me, data_meta, main_text = "",
  margins_1 = c(1.4, 1.8, 1.8, 0.2), margins_2 = c(1.4, 0.2, 1.8, 3.5),
  no_col = F, show_mk = F, aggr_cat_mean = F, with_hom_dat = F,
  smooth_val = 0.2, mk_sig_level = 0.05, add_st_num = T)
 | 
| data_in | Input data frame holding results of moving average analysis. | 
| data_mk | Input analysis with results of Mann-Kendall trend test. | 
| data_in_me | Data frame with annual average values of stations. | 
| data_meta | Station meta data. | 
| main_text | Plot title | 
| margins_1 | Figure margins of left plot panel | 
| margins_2 | Figure margins of right plot panel. | 
| no_col | Display elevation categories with different colors (T or F) | 
| aggr_cat_mean | If TRUE, uasnge mean average instead of median for calculation af category averages | 
| with_hom_dat | Display stations with homogenized time series (T or F) | 
| smooth_val | Smoothing value for LOESS. | 
| mk_sig_level | Significance level alpha. | 
| add_st_num | Add number of stations of each category top right (T or F) | 
| snow_mk | Snow days with significant trends with yellow dots (T or F) | 
Plot with yearly cycles (lines; left panel) of moving average analysis results and annual averages (right panel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.