Thank you, the x-axis includes zero, but even, when I try to plot it not
including zero, the y-axis keeps
disappearing. One can't even add the axis afterwards!

Here is an example:

library(rmeta)

set.seed(123)

# simulated data:
############
theta <- 0.5
sds <- runif(50,0.8,8)
b <- rnorm(50,0,0.3)
e <- sapply(sds, function(x) rnorm(1,0,sds))
theta_i <- theta + b + e

# funnel plot:
#########
plot(1/(sds^2), theta_i)

# short break:
#########
Sys.sleep(3)

# metaplot:
########
metaplot(mn = theta_i, se = sds)

# plot funnel plot again:
################
plot(1/(sds^2), theta_i)

# ---> y-axis disappeared!

# try to add y-axis:
#############
axis(2, at=-4:7, labels=-4:7)

# ---> nothing happens.

-- 
View this message in context: 
http://www.nabble.com/metaplot-in-rmeta%3A-y-axis-disappears-tp24917401p24936130.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to