Below is a similar to a data set I am working with... I am struggling to write a loop that would go through the data and add a new column 'Rank' based on the other two columns..
So for example if the
'Color' = 'red' and measure between 0-2 then it would have a rank of 1
'Color - 'red'...
Hello All,
I have a data set that is similar to this..
structure(list(d.in.p = c(4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L), time2 = c(0, 0.30209836793605,
0.292033542976939, 0.00731537389688806, 0, 0, 0.0249544211485871,
0, 0.368636194723151...
Hello,
I am working on a boxplot where I would like the N (sample size) to be displayed on each box and also the different number of trials that the samples came from..
I have some sample data as follows:
structure(list(Female.Name = structure(c(3L, 3L, 3L, 5L, 5L,
5L, 5L, 4L, 4L...
If this is so obvious everyone should know I apologize for the inconvenience. I would like to add a color coded trend line to a series of box plots (graph attached)..
Any help is much appreciated..
The code I have used for the graph is as follows:
boxplot(total1$y~total1$x)
The data...