This is the data (cat.va):
SxAg Vision No
1 Any 6/12 and better 7
2 Any 6/18 to 6/60 12
3 Any <6/60 11
4 <3mth 6/12 and better 3
5 <3mth 6/18 to 6/60 4
6 <3mth <6/60 6
7 3-6mth 6/12 and better 4
8 3-6mth 6/18 to 6/60 8
9 3-6mth <6/60 5
10 >6mth 6/12 and better 0
11 >6mth 6/18 to 6/60 0
12 >6mth <6/60 0
cat.va is a dataframe:
> str(cat.va)
'data.frame': 12 obs. of 3 variables:
$ SxAg : Factor w/ 4 levels "3-6mth","<3mth",..: 4 4 4 2 2 2 1 1 1
3 ...
$ Vision : Factor w/ 3 levels "6/12 and better",..: 1 2 3 1 2 3 1 2
3 1 ...
$ No : int 7 12 11 3 4 6 4 8 5 0 ...
I was essentially wanting to create a frequency ploygon graph with
SxAg along x, the frequency (No) along y and 3 curves (Vision).
I really appreciate your help.
Thanks,
Paul