saving . . . saved Data Frame plot has been deleted. Data Frame plot has been hidden .
Data Frame plot
Title
Question
When i am trying to plot as;
                                plot(captaincy$names,captaincy$played)
Error Shows as :
 <font color="#ff0000">Error in plot.window(...) : need finite 'xlim' values</font>
<font color="#ff0000">In addition: Warning messages:</font>
<font color="#ff0000">1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion</font>
<font color="#ff0000">2: In min(x) : no non-missing arguments to min; returning Inf</font>
<font color="#ff0000">3: In max(x) : no non-missing arguments to max; returning -Inf</font>

R Introduction-to-Data-Frames-in-R 07-08 min 0-10 sec 26-05-20, 7:13 a.m. rakshaggu@gmail.com

Answers:

Please note that the plot() function simply plots two vectors against each other. Like plot(c(1:4),c(1,4,9,16)). 
In your case, it seems you wish to draw a barplot. For this, please type the commands as given below:

barplot(captaincy$played, names.arg = captaincy$names)
26-05-20, 3:28 p.m. sudhakarst


Please checkout https://forums.spoken-tutorial.org/question/2241/r-pogram-data-frame/#answer4655
08-10-20, 11:21 p.m. DVB


Log-in to answer to this question.