Displaying 3 results from an estimated 3 matches for "subgroup1".
Did you mean:
subgroup
2010 Jan 10
0
ordering of additional columns in forest plot in meta package
Hi,
I am trying to add additional columns to a forest plot using the meta package.
The study information and subgroup analysis plotting is handled properly.
For this output the data is ordered first by subgroup label
(rnd.subgroup1 in the example) and second decreasing size of totals
('n' in the example).
The proper ordering of this data is confirmed by the color coding
(black and red in the example) of the subgroup label. Also the
"studlab","event" and "n" are all ordered correctly.
The...
2011 Oct 10
1
Multiple imputation on subgroups
Dear R-users,
I want to multiple impute missing scores, but only for a few subgroups in my
data (variable 'subgroups': only impute for subgroups 2 and 3).
Does anyone knows how to do this in MICE?
This is my script for the multiple imputation:
imp <- mice(data, m=20, predictorMatrix=pred, post=post,
method=c("", "", "", "",
2002 Oct 28
2
subsetting character vector into groups of numerics
...can only think of
complicated ones.
I have a number of character vectors that look something like this:
"12 78 23 9 76 43 2 15 41 81 92 5(92 12) (81 78 5 76 9 41) (23 2 15 43)"
I wish to get it into a list of numerical vectors like this:
$Group
[1] 12 78 23 9 76 43 2 15 41 81 92 5
$Subgroup1
[1] 92 12
$Subgroup2
[1] 81 78 5 76 9 41
$Subgroup3
[1] 23 2 15 43
I can't rely on the closing parenthesis as the last character in the
vector, though the subgroup could be clearly defined without it.
Numbers are obvious to the eye, but are not always separated from one
another consistently....