R/utils.R
trend_plot.Rd
trend_plot use this to make plots of a binomial variable (one that takes only 0/1 values)
trend_plot(f, plotTittle = "", plotsubTittle = "")
f | a data frame that must contain the following columns: year = year of observations x = number of 1's observed that year n = total observations in that year |
---|---|
plotTittle | plot title |
plotsubTittle | plot title |
if (FALSE) { }