saving . . . saved plot(plot(Captaincy$names,Captaincy$played) has been deleted. plot(plot(Captaincy$names,Captaincy$played) has been hidden .
I did not get the output shown in the video tutorial when I tried to execute plot(Captaincy$names, Captaincy$played. Please help.

Following are the errors shown
plot(Captaincy$names,Captaincy$played,xlab = "Names", ylab = "Played", main = "Number of Matches Played by Indian Captain")
Error in plot.window(...) : need finite 'xlim' 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

R Introduction-to-Data-Frames-in-R 06-07 min 0-10 sec 23-06-20, 10:25 p.m.


Please check the solution given on
25-06-20, 10:57 p.m. sudhakarst

Log-in to answer to this question.