Show breakpoints (and optionally data) on a map
Usage
plot_Breaks(dat, breakpoints, showData = TRUE)
Arguments
- dat
data.frame with columns year, age, length, lat, long, sex (optional)
- breakpoints
data.frame with columns year (optional) lat and long. can be output of get_Breaks(). Use -Inf to turn off a break.
- showData
logical. do you want to see your datapoints?
Value
Map
p1
plot of Alaska with dashed breakpoints and (optionally) raw length observations