Skip to content

Commit

Permalink
use na.rm=TRUE in pomp plot method
Browse files Browse the repository at this point in the history
  • Loading branch information
kingaa committed Mar 2, 2023
1 parent d32e9f8 commit ff47521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ plotpomp_internal <- function (x, variables,
on.exit(par(oldpar))
for (i in seq_len(nser)) {
plot.default(
x=range(time),y=range(x[[i]]),
x=range(time),y=range(x[[i]],na.rm=TRUE),
axes=FALSE,xlab="",ylab="",log=log,
col=col,bg=bg,pch=pch,ann=ann,type="n",...
)
Expand Down

0 comments on commit ff47521

Please sign in to comment.