Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
NA control for xyplot in reliabilityCategories
  • Loading branch information
mdfrias committed May 9, 2017
2 parents 7868d41 + b96be65 commit 0a9ec71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/reliabilityCategories.R
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ reliabilityCategories <- function(obs,
panel.text(0.35, ylimcat, catname[i])

panel.xyplot(x, y, pch = 16, col = "black",
cex = ((((hindcastfreq[[i]]*nyear*npoint)-cex0)*(cex0*cex.scale-cex0)) / ((nyear*npoint)-cex0)) + cex0)
cex = na.omit(((((hindcastfreq[[i]]*nyear*npoint)-cex0)*(cex0*cex.scale-cex0)) / ((nyear*npoint)-cex0)) + cex0))
# panel.xyplot(0.45,0.2, pch = 16, col = "black",
# cex = min(hindcastfreq[[i]]) * cex.scale)
# panel.text(0.68, 0.2, paste0("min: n = ", min(hindcastfreq[[i]])*nyear*npoint))
Expand Down

0 comments on commit 0a9ec71

Please sign in to comment.