Displaying 20 results from an estimated 100 matches similar to: "perform subgroup meta-analysis and create forest plot displaying subgroups"
2009 Mar 07
4
merge data frames with same column names of different lengths and missing values
Hello, I'm switching over from SAS to R and am having trouble merging data frames. The data frames have several columns with the same name, and each has a different number of rows. Some of the values are missing from cells with the same column names in each data frame. I had hoped that when I merged the dataframes, every column with the same name would be merged, with the value in a complete
2006 Jun 10
1
issues with cifs mount
I have a samba 3.0.14a PDC on FreeBSD 6.0-RELEASE.
With pam_mount on Ubuntu 5.10 users have their home
mounted with mount.cifs.
I have 2 issues with this setting.
First with the evolution email client, when I pop my mails
I have the following error:
Cannot append message to mbox
file: /home/profs/user1/.evolution/mail/local/Inbox: Permission denied
The log.smbd shows:
[2006/06/10 08:25:33, 2]
2011 Jul 09
2
Meta-analysis with zero values for mean and sd. Continuous data.
Hi,
I want to do a meta-analysis with count data for treatement/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!
2004 May 07
1
Lattice xyplot - problem trying to produce multiple output files with a 'for' loop
I am stuck on trying to get the Lattice xyplot to output a separate PNG file each time through my '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 <-
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
2011 Jul 09
1
Meta-analysis with zero values for mean and sd
Hi!
I want to do a meta-analysis with count data for 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!
>
1999 Jan 18
0
Selecting a subgroup
I use the following function to select a subgroup from a data vector
(usually to calculate descriptive stats).
select.range<-function (groupvec, min, max, data)
{
if (nargs() > 3) {
min.cond <- groupvec >= min
max.cond <- groupvec < max
cond <- min.cond & max.cond
selected <- na.remove(ifelse(cond, data, NA))
2007 Jan 25
0
Subgroup discovery in R
I would very much like to apply "subgroup discovery" techniques to some
of the data I am analyzing at this moment.
Subgroup discovery is an interesting approach and is quite well known in
the Data Mining community, though in essence it is a purely statistical
approach.
To read an introductory article see "Subgroup discovery and visualization
methods"
2012 Mar 29
3
How to get the most frequent value of the subgroup
Dear Members of the R-Help,
While using a R function - 'aggregate' that you developed, I become to have a question.
In that function,
> aggregate(x, by, FUN, ..., simplify = TRUE)
I was wondering about what type of FUN I should write if I want to get "the most frequent value of the subgroup" as a summary statistics of the subgroups.
I will appreciate if I can get
2004 Apr 02
1
cumsum() by subgroup
I need to do a simple cumulative sum by group and add the result to the
data. I found an earlier thread in the help files with a few suggestions.
Somewhat, one of the suggestions does not work with "my data", and I don't
really understand why ?
The error am getting using the "my data" below is...
Error in data.frame(..., check.names = FALSE) :
arguments imply
2009 Oct 22
2
How to find moving averages within each subgroup of a data frame
Dear all,
If I have the following data frame:
> set.seed(21)
> df1 <- data.frame(col1=c(rep('a',5), rep('b',5), rep('c',5)), col4=rnorm(1:15))
col1 col4
1 a 0.793013171
2 a 0.522251264
3 a 1.746222241
4 a -1.271336123
5 a 2.197389533
6 b 0.433130777
7 b -1.570199630
8 b -0.934905667
9 b 0.063493345
10 b
2009 Aug 26
2
counting subgroup sums within a data frame
Hi,
I'm sure there's an easy approach to this issue, I'm just not seeing it.
I have a data frame of the following form:
Date class subclass count
8/1/2009 A X 1
8/1/2009 B X 2
8/1/2009 A Y 9
8/1/2009 B Y 3
8/2/2009 A X 1
8/2/2009 B X 5
8/2/2009 A Y
2010 Mar 30
4
Code is too slow: mean-centering variables in a data frame by subgroup
Dear R-ers,
I have a large data frame (several thousands of rows and about 2.5
thousand columns). One variable ("group") is a grouping variable with
over 30 levels. And I have a lot of NAs.
For each variable, I need to divide each value by variable mean - by
subgroup. I have the code but it's way too slow - takes me about 1.5
hours.
Below is a data example and my code that is too
2008 Feb 10
2
Do I need to use dropterm()??
Hello,
I'm having some difficulty understanding the useage of the "dropterm()"
function in the MASS library. What exactly does it do? I'm very new to R, so
any pointers would be very helpful. I've read many definitions of what
dropterm() does, but none seem to stick in my mind or click with me.
I've coded everything fine for an interaction that runs as follows: two sets
2005 Oct 11
1
problems with levelplot and contourplot
Hello,
Using the following code i want to make a level or contourplot of some
data that I produced
library(grid);library(lattice);
mydata <- read.table("avgee.dat");
mymat <- as.matrix(mydata);
mymat <-t(mymat)
vals<-as.vector(mymat);
conc<-c(0.0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5);
a<- c(0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5,5.0,
7.5,10,
2010 Jun 23
1
mhplot error with test example: "ylim not found"
Hello all,
I am trying to make a genome association plot for p-values related to SNPs
and was fortunate to find that R contains a package that produces Manhattan
plots which is what's preferred for my current project. The function
mhtplot() is found in the 'gap' package which I installed in R 2.11.1 on
Windows. I thought I'd test out the function first with the examples they
2018 Mar 07
0
ggplot2: plot gruped/nested split violins
Hi,
I posted this on StackOverflow also but did not get a response so I thought
that I would also try luck here. The post is at:
https://stackoverflow.com/questions/49120060/ggplot2-display-blocks-of-nested-split-violins
Basically, I have the following test example:
--cut-and-paste-from-here-on
df <- data.frame(dens = rnorm(5000),
split = as.factor(sample(1:2, 5000, replace =
2010 Jun 18
0
pcse package - is it OK to use it when my regression is weighted by each subgroup's mean
Hello!
Just would like to make sure I am not doing something wrong.
I am running an OLS regression. I have several subgroups in the data
set (locations) - and in each location I have weekly data for 2 years
- on my DV and on all predictors. Looks like this:
location week DV Predictor1 Predictor 2
location1 week1 xxx xxxxxxx xxxxxxxxx
location1 week2 xxx xxxxxxx xxxxxxxxx
.
.
2003 May 14
2
building mean/median over subgroups
Dear all,
I'm trying to solve the following problem, and hoping to get some
advise here from the group
I have a dataframe in which the same sample was measured more than
once on the same day. I would reorganize the dataframe to get a
single value (mean /median) for one day
Patient Day Sample Test
A 1 A 23
A 1 A 36
A 5 B 44
A 5 B 23
B 2 C 10
B 2 C 5
mean
Patient Day Sample Test.mean
A
2006 Jan 08
1
SSID subgroups question??
I have Samba as a PDC w/ openLDAP backend. Everything works great. I
have a question on how sub-groups work. For instance, my "Domain
Users" group will have a SID of
S-1-5-21-2213288279-2770996180-1086272762-513
What if I create a group under that one. Should it be
"...-513-something" I am wondering how samba will know it is a sub
group without a different ID. I am using