Displaying 4 results from an estimated 4 matches for "q1090".
Did you mean:
1090
2017 Jul 13
2
about plotting a special case
Thanks, Jim. The code works, but I don't understand why you use q1090 <-
quantile(DF1$B, probs=c()), rather than DF1$A? Also, how to add a legend
for both points DF1 and DF2?
On Wed, Jul 12, 2017 at 8:25 PM, Jim Lemon <drjimlemon at gmail.com> wrote:
> Hi lily,
> Here is the first plot:
>
> plot(DF1$A,DF1$B,pch=19,col="red")
> mean...
2017 Jul 13
0
about plotting a special case
...38 24 58
>> 37 27 53",header=TRUE)
>> plot(DF1$A,DF1$B,xlim=range(c(DF1$A,DF2$A)),
>> ylim=range(c(DF1$B,DF2$B)),pch=19,col="red")
>> meanA<-mean(DF1$A)
>> meanB<-mean(DF1$B)
>> points(meanA,meanB,pch=18,col="red")
>> q1090<-quantile(DF1$B,probs=c(0.1,0.9))
>> plotCI(meanA,meanB,ui=q1090[2],li=q1090[1],err="x",
>> add=TRUE,col="red")
>> points(DF2$A,DF2$B,pch=19,col="green")
>> meanA<-mean(DF2$A)
>> meanB<-mean(DF2$B)
>> points(meanA,meanB,pc...
2017 Jul 13
0
about plotting a special case
Hi lily,
Here is the first plot:
plot(DF1$A,DF1$B,pch=19,col="red")
meanA<-mean(DF1$A)
meanB<-mean(DF1$B)
points(meanA,meanB,pch=18,col="red")
q1090<-quantile(DF1$B,probs=c(0.1,0.9))
library(plotrix)
dispersion(meanA,meanB,q1090[2],q1090[1],
intervals=FALSE,col="red")
The same code will work for a second data frame, except that you would
use "points" instead of "plot" and change the color. You may also have
to...
2017 Jul 13
2
about plotting a special case
Hi R users,
I have a question about plotting. There is the dataframe below, while each
row represents a record. If I want to plot on a A-B plot, i.e., x-axis
represents A, while y-axis represents B values. However, I want to plot the
mean value from records 1-10 as one point, while the 10th and 90th
percentiles represent the error bars, such as one point in the attached
example. I don't know