Re: [R] Question:How to get rid of missing values

2010-02-24 Thread Jim Lemon
On 02/25/2010 05:06 AM, Lu Wang wrote: ... The problem is the na.exclude function does not work here. Is it the reason that my missing values are not 'NA's but blank? How can I get the pie chart without those missing values? Hi Lu, Your problem is most easily solved when reading in the data.

[R] Question:How to get rid of missing values

2010-02-24 Thread Lu Wang
Hi, I want to draw a pie chart of level (variable) for each ID (variable). I have a big dataset, here I attach part of it. ID level 1 G1 1 A1 1 A1 1 G1 1 G1 1 G1 1 A1 1 A1 1 G1 1 G1 1 G3 1 A1 1 G1 1 A1 1 A1 1 A2 1 A2 1 M 1 A1 1 G1 1 A1 1 1 1 A2 1 G3 1 A1 1 A1 1 A

[R] Question:How to get rid of missing values

2010-02-24 Thread Lu Wang
Hi, I want to draw a pie chart of level (variable) for each ID (variable). I have a big dataset, here I attach part of it. ID level 1 G1 1 A1 1 A1 1 G1 1 G1 1 G1 1 A1 1 A1 1 G1 1 G1 1 G3 1 A1 1 G1 1 A1 1 A1 1 A2 1 A2 1 M 1 A1 1 G1 1 A1 1 1 1 A2 1 G3 1 A1 1 A1 1 A