Skip to content
Prev 385393 / 398506 Next

plot.window: need finite 'ylim' values

Hi Jim,
on 21.08. you wrote:

            
I've set
minimum <- 0
maximum <- 1

The error persists.

But besides that, passing 'type="n"' to plot would only make sense
when called once an I know there are only NAs to plot. Since I want to
generate many charts in a loop I would have to check for plotable data
first to decide if 'type="n"' should be passed.

As a workaround for now I do something similar. I check if the range
to be plotted is completely NA. If so I manipulate one of those
observations (which can only be 0, 1 or NA) to an "illegal" value of
0.5.

Mike