Displaying 2 results from an estimated 2 matches for "yn2".
Did you mean:
on2
2006 Nov 11
2
Bayesian question (problem using adapt)
...)
for (i in 1:length(x)) {
val=c(val, integrate(hazard2, lower=0, upper=x, theta=theta,
param=param)$value)}
return(val)
}
param0 = c(1.11, .833)
theta0 = c(1.11, .833)
yn1 <-read.table("yang1.txt", col.names = c("trtmt", "deathday", "reason"))
yn2 <-read.table("yang2.txt", col.names = c("trtmt", "deathday", "reason"))
for (i in 1:length(yn1$reason)) {
if (yn1$reason[i] == -1) (yn1$reason[i] = 0) else (yn1$reason[i] = 1) }
for (i in 1:length(yn2$reason)) {
if (yn2$reason[i] == -1) (yn2$reason...
2006 Mar 24
1
Multiple error bar plots
...hus the same x values in the errbar plot).
In other words, my data looks like this:
X1 (group index), Y11 (measurement), error of Y11 (error in measurement)
X2, Y21, error of Y21
...
Xn, Yn1, error of Yn1 // End of the first set of measurements
X1, Y12, error of Y12,
X2, Y22, error of Y22,
...
Xn, Yn2, error of Yn2 // End of the second set of measurements
X1, Y13, error of Y13,
X2, Y23, error of Y23,
...
Xn, Yn3, error of Yn3 // end of the third set of measurements
I need to put one errbar plot that include all three cases with different
symbols for each data set. How can I do this?
Thanks in...