Hi, sorry for bothering your guys again.
I want to simulate 100 AR(1) data with cor(x_t, x_t-1)=rho=0.3. The mean of
the first 70 data (x_1 to x_70) is 0 and the mean of the last 30 data (x_71
to x_100) is 2. Can I do it in the following way?
x <- arima.sim(list=(ar=0.3), 100)
mean <- c(rep(0, 70
Hi,
Sorry for bothering your guys again. I am trying to use "par" to put 6
figures into 3 rows and 2 columns. My code is:
op <- par(mfrow = c(1, 2))
xyplot(x1+x2+x3 ~ y, data=resulta, type="l", pch=LETTERS[1:3], lty=c(1:3),
main="For k=3, theata1=1")
xyplot(x1+x2+x3 ~ y, data=resultb, type="l"
Hi,
Sorry for bothering you again. I have a small question about the graph and
the following is my code:
xyplot(power1+power2 ~ pi0, data=resultb, ylab="Average
Power", type="l", pch=LETTERS[1:2], lty=c(1:2), main="(a)")
The name of the X-axis will be “pi0” in the graph.
What should I do if
Hi, sorry for bothering your guys.
I will trying to make some nice graph using boxplot. when I check the help
file of boxplot, there is a sample code as:
boxplot(len ~ dose, data = ToothGrowth, add = TRUE,
boxwex = 0.25, at = 1:3 + 0.2,
subset = supp == "OJ", col = "or
Thank you for your guys reply for my previous question. But I got one more
question about the boxplot. With the code in the R-help:
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Grow
Hi, Sorry for bothering your guys. I am still working on boxplot.
How can I extend the whisker to the 5% and the 95% quantiles? What I should
do if I only want to show the most extreme outlier, like 0.01% and 99.99%
percentiles?
I saw something on boxplot.stat, but I even donot know how to conn
6 matches
Mail list logo