search for: byvar

Displaying 7 results from an estimated 7 matches for "byvar".

Did you mean: byval
2011 Jul 09
2
Meta-analysis with zero values for mean and sd. Continuous data.
...eatement/control cases. Mi problem is that I need to use zero values (an informative zero value) for the mean and standard deviation for one of the treatement, but R has a problem: "Studies with zero values for sd.e or sd.c get no weight in meta-analysis". I can agroup the case by Family (byvar=Family). ¿Can you help me? Thanks! > datos<-read.table(file="datos_totales.csv",head=TRUE,sep=",",dec=",") > datos[10:20,] Study ControlN ControlMean ControlSD TreatedN TreatedMean TreatedSD Family 10 Ali.Gmb.S1.Inv 3 893.3333 180...
2004 May 07
1
Lattice xyplot - problem trying to produce multiple output files with a 'for' loop
...The files get produced but are empty. Here is the code. I'm running 1.9 on Windows. BTW is there a more efficient way of creating the separate output files than looping over the levels and subsetting? ......................................................... lev <- levels(ds$TR) for (byvar in lev) { file.png <- paste("u:/data/R/Scatter_CTY_HWY_CO_TR", byvar, ".png", sep="") trellis.device( device="png", file=file.png, width=1000, height=1000, pointsize=20, bg="transparent" ) ds1 <- subset(ds, TR == byvar, select=c(C...
2011 Jul 09
1
Meta-analysis with zero values for mean and sd
...or treatement/control cases. Mi problem is that I need to use zero values (an informative value) for the mean and standard deviation for one of the treatement, but R has a problem: "Studies with zero values for sd.e or sd.c get no weight in meta-analysis". I can agroup the case by Family (byvar=Family). ¿anybody help me? Thanks! > datos<-read.table(file="datos_totales.csv",head=TRUE,sep=",",dec=",") > datos[10:20,] Study ControlN ControlMean ControlSD TreatedN TreatedMean TreatedSD Family 10 Ali.Gmb.S1.Inv 3 893.3333 180...
2010 Dec 06
3
Appearance of Forest Plot
Hi All, I have conducted a meta analysis using the metabin function. I want to plot 5 subgroups on the same forest plot. I have managed to do this using the byvar argument but when i plot the forest plot in R graphics I am unable to view the very top and very bottom of the image. It is as though the plot is too long. Is there a way in which I can ask R to show the entire plot within the boundaries of the window? Many Thanks. -- View this message in context...
2009 Mar 10
2
perform subgroup meta-analysis and create forest plot displaying subgroups
Hello, I'm using the rmeta package to perform a meta analysis using summary statistics rather than raw data, and would like to analyze the effects in three different subgroups of my data. Furthermore, I'd like to plot this on one forest plot, with corresponding summary weighted averages of the effects displayed beneath each subgroup. I am able to generate the subgroup analyses by simply
2010 Jan 10
0
ordering of additional columns in forest plot in meta package
...=lbls) a$rnd.subgroup1 <- addvar(a,mydata,"rnd.subgroup1",by.y="lbls") a$rnd.subgroup2 <- addvar(a,mydata,"rnd.subgroup2",by.y="lbls") grid.newpage() forest(a, studlab=lbls, comb.fixed=T,comb.random=F,overall=T, text.fixed="my title here", byvar=rnd.subgroup1, print.byvar=T, leftcols=c("studlab","rnd.subgroup1","rnd.subgroup2","event","n"), # sort order not right for 'rnd.subgroup1' and 'rnd.subgroup2' bylab=c("one","two"), sortvar=-n, col.i=rnd.subg...
2011 Jul 14
2
cbind in aggregate formula - based on an existing object (vector)
Hello! I am aggregating using a formula in aggregate - of the type: aggregate(cbind(var1,var2,var3)~factor1+factor2,sum,data=mydata) However, I actually have an object (vector of my variables to be aggregated): myvars<-c("var1","var2","var3") I'd like my aggregate formula (its "cbind" part) to be able to use my "myvars" object. Is it