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
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
Hi,
Sorry to forget providing the data before.
I want to get a histogram with the legend for my data. I
drew a normal density curve and kernel density curve in the histogram,
and I also label mean and median in the X axis. From the code, I got
two legend: One shows "Normal Density" and "Kernel De
Hi,
I want to get a histogram with the legend for my data. I drew a normal density
curve and kernel density curve in the histogram, and I also label mean and
median in the X axis. From the code, I got two legend: One shows "Normal
Density" and "Kernel Density" and their corresponding lines, the
Hi,
I want to produce a pie chart with titles. I used the following code. So it
created a pie chart for the percentage of the score for ID="002".
ID <-
c("001","001","002","002","002","003","003","003","004","004","005","005","006")
test <-
c("A","B","A","B","C","A","B","C","A","B","A","B","A"
Hi,
I
am struggling to create a 2 by 2 multiple graphs in one page. I used
par(mfrow=c(2,2)) to divide the screen into 4. In each screen I draw a pie
chart (They are all same).
For example, my data is like this
Concentration value
A1 69
A2
Hi,
I am struggling to create a 2 by 2 multiple graphs in one page. I used
par(mfrow=c(2,2)) to divide the screen into 4. In each screen I draw a
pie chart (They are all same).
For example, my data is like this
Concentration value
A1 69
A2
Hi,
I am struggling to create a 2 by 2 multiple graphs in one page. I used
par(mfrow=c(2,2)) to divide the screen into 4. In each screen I draw a pie
chart (They are all same).
For example, my data is like this
Concentration value
A1 69
A2
Hi,
I tried to use the following commands to create a postscript pie chart using R:
postscript(file="H:/piechart.eps")
# then I wrote my commands to generate the pie chart
pie(filename,labels=,col=,radius=0.6)
dev.off()
After I ran those commands, instead of giving the pie chart, it showed
> de
9 matches
Mail list logo