Hi Jerry,
Try this:
jl.df<-read.table(text="ID,score,success,failure
study1,1,35,85
study1,2,46,83
study2,1,78,246
study2,2,45,96",
sep=",",
header=TRUE)
nrows<-dim(jl.df)[1]
jlexp.df<-data.frame()
for(row in 1:nrows) {
success_rows<-data.frame(ID=rep(jl.df$ID[row],jl.df$success[row]),
score=r
I am trying to model an existing meta-analysis to examine alternative
hypotheses (e.g., doing a random-effects analysis), as well as re-sampling
techniques. There are over 2,000 subjects, but the data is fairly simple: a
binary outcome, success or failure, linked with a score (0-10) on a
structur
2 matches
Mail list logo