I am trying to plot the linear fit by id of the following data (test.l):
id year incidents
1001 0
1011 1
102121
103127
1041 3
105112
1002 5
1012 5
102219
103210
1042
I have a factor vector of subject races (Asian, Black, Hispanic, White; n=30)
that I want to plot with a Cleveland dotplot or dotchart.
I tried the following in R2.12.1 :
dotchart(table(school$Race))
Error in plot.xy(xy.coords(x, y), type = type, ...) : invalid plot type
Using the same data
Is there an R function to generate a radar or spider graph from a table
- e.g.radar(table(x)) or some such?
==
Isaac T. Van Patten, Ph.D.
Professor
Department of Criminal Justice
Box 6934, Radford University
Radford, VA 24142
3 matches
Mail list logo