VAST icon indicating copy to clipboard operation
VAST copied to clipboard

plot_residuals in VAST-single-species-example

Open jin-gao opened this issue 8 years ago • 0 comments

Decide which years to plot

Year_Set = seq(min(Data_Geostat[,'Year']),max(Data_Geostat[,'Year'])) Years2Include = which( Year_Set %in% sort(unique(Data_Geostat[,'Year'])))

This will general error when the Year_Set is not continuous. To solve the problem, change Years2Include to Years2Include =1: length(sort(unique(Data_Geostat[,'Year']))))

jin-gao avatar Feb 09 '17 05:02 jin-gao