search for: meanb

Displaying 7 results from an estimated 7 matches for "meanb".

Did you mean: means
2017 Jul 13
2
about plotting a special case
...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") > 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...
2017 Jul 13
0
about plotting a special case
...21 52 >> 61 23 50 >> 40 19 51 >> 58 18 57 >> 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") >&...
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" i...
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
2012 Feb 16
1
how to get r-squared for a predefined curve or function with "other" data points
...282673 NA 2 SE . 0.1279981 0.1937197 NA --- by averaging parameters a and b of the curve, i create a "mean curve" that is added to the plot (red curve in the attached image). http://r.789695.n4.nabble.com/file/n4394609/conductivity-curve.gif --- meana <- average[1,"a"] meanb <- average[1,"b"] curve(100/(1+exp(meana*(x-meanb))), col=2, lwd=2, add = TRUE) --- and now here's my problem: i'd like to calculate R squared for all points on that mean curve. since i have to average the curve parameters, i loose the curve's residuals that are stored in...
2010 Apr 05
3
bootstrap confidence intervals, non iid
hello, i need to calculate ci's for each of 4 groups within a dataset, to be able to infere about differences in the variable "similarity". the problem is that data within groups is dependent, as assigned by the blocking-factor "site". my guess was to use a block bootstrap but samples within in these blocks / sites are not of same length. i was not able to find a method to
2006 Oct 18
6
new R-user needs help
Dear all, I have a dataset Exp name id x1 x2 x3 x4 x5 1 a 1 23 24 23 22 30 1 b 2 25 26 27 23 24 1 c 3 32 19 23 25 28 2 a 4 28 32 24 26 27 2 b 5 23 24 25 26 28 2 c 6 23 31 30 38 23 3 a 7 24 25 31 27 29 3 b 8 28 25 26 32 28 3 c 9 21 31 28 23 29 where each name a,b and c is repeated three times. Now I want to calculate the the averages of