Unable to use function PLot

Hi getting error while using function plot on with my data , please find error

plot(Driver id,Status)
Error in plot.window(...) : need finite 'ylim' values
In addition: Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf

Driver id is not a valid variable name. Rename it as something like Driver_id or put it in backticks

plot(`Driver id`, Status)

This may not be the source of the error, but worth a try.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.