Displaying 2 results from an estimated 2 matches for "sdup".
Did you mean:
dup
2012 May 28
1
question how to add Standard Deviation as "Whiskers" in a simple plot
...and i
wish to plot line with Standard Deviation as "Whiskers". I calculate the
mean+sd and mean-sd, but i can not figure out the way to add the line.
mydata <-
data.frame(mean=c(0.42,0.41,0.41,0.43,0.45,0.43,0.43,0.42,0.44,0.45,0.45,0.45,0.46,0.43,0.42,0.37,0.44,0.46,0.46,0.39,0.40),
sdUP=c(0.58,0.56,0.55,0.57,0.61,0.55,0.57,0.59,0.61,0.60,0.57,0.60,0.62,0.57,0.59,0.56,0.57,0.61,0.61,0.56,0.54),
sdDOWN=c(0.26,0.26,0.28,0.29,0.30,0.30,0.29,0.26,0.28,0.31,0.34,0.30,0.31,0.30,0.25,0.19,0.31,0.31,0.31,0.22,0.25))
plot(mydata$mean,
type="o",
ylab="mean",...
2012 Mar 06
1
sourcearg function is there a better way already built into R
...uot;%s\n",arg) # printf = cat(sprintf(....))
sink()
source("TMPTMPRarg")
return(su)
}
A trival invocation is given below but the next time I get data the
names of assays might be Mg,MN,and Fe
asyl=c("MG","MN")
for(asy in asyl){
j=read.csv(sprintf("%sDUPS.csv",asy),head=T)
attach(j)
printf("plot(%s,DUP%s,log=\"xy\")",asy,asy)
sourcearg(sprintf("plot(%s+0.01,DUP%s+0.01,log=\"xy\",main=\"Redacted
%s\nOrg Log+0.01 vs Dup Log+0.01 Plot\" )",asy,asy,asy))
print(names(j))
ipsend()
detach(j)
}...