ONKELINX, Thierry schrieb:
Dear Bernd,
Omitting the NA values from the dataset will work.
ggplot(aes(x = x, color = g), data = na.omit(mydf)) + geom_density()
Dear Thierry,
thanks for your reply! Of course, regarding my little toy example
na.omit() perfectly works. However, my real data se
Dear all,
I am struggling to add a prediction interval to a forest plot that was
created with forest.meta(), package "meta".
I checked the source of forest.meta() and realized that it is heavily
relying on grid. I am lacking any experience with grid graphics. So, I
am having difficulties to find
On 18.04.2014 13:02, petre...@unina.it wrote:
> Prof. Dewey, sorry for the trivial question and many thank for the replay.
>
>
>> Using which package?
>
> In this case I used the meta package, but I know that for all but the
> DerSimonian-Laird method the R function rma.uni of R package metafor
Am 02.07.2010 08:10, schrieb Wincent:
> Dear all,
>
> I try to show a subset of coefficients in my presentation. It seems
> that a "standard" table is not a good way to go. I found figure 9
> (page 9) in this file (
> http://www.destatis.de/jetspeed/portal/cms/Sites/destatis/Internet/DE/Content
Am 04.08.2010 06:21, schrieb Jeffry Madura:
[...]
Can anyone explain to me what is going on here? The frame code in
latex is
\begin{frame}{fragile} \frametitle{Numbers} \textbf{Numbers} can be
represented in a variety of different formats. For example the number
$1.2345\times 10^5$ is written
Am 11.05.2010 10:37, schrieb arnaud Gaboury:
> Dear group,
>
> Here is my df :
>
> df3 <-
> structure(list(DESCRIPTION = c("COPPER May/10", "COTTON NO.2 Jul/10",
> "CRUDE OIL miNY May/10", "GOLD Jun/10", "ROBUSTA COFFEE (10) Jul/10",
> "SOYBEANS Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 May/1
Am 14.05.2010 12:10, schrieb arnaud Gaboury:
> Dear group,
>
> Here is an object:
>
> z <-
> c("LSCPos100415.csv", "LSCPos100416.csv", "LSCPos100419.csv",
> "LSCPos100420.csv", "LSCPos100421.csv", "LSCPos100422.csv",
> "LSCPos100423.csv",
> "LSCPos100426.csv", "LSCPos100427.csv", "LSCPos100428.
Am 24.03.2011 11:28, schrieb Arnau Mir:
Hello.
Somebody knows how to write in R all the permutations of a given set?
For example, is the set is {a,b,c} I want the following:
a,b,c
a,c,b
b,c,a
b,a,c
c,a,b
c,b,a
library(gregmisc)
permutations(3, 3, letters[1:3])
gives
[,1] [,2] [,3]
[1,]
Am 30.03.2011 09:15, schrieb Christopher Desjardins:
Hi,
I am trying to write a loop to recode my data from -999 to NA in R. What's
the most efficient way to do this? Below is what I'm presently doing, which
is inefficient. Thanks,
Chris
dat0<- read.table("time1.dat")
colnames(dat0)<- c("e
Am 31.03.2011 19:31, schrieb array chip:
Hi, I am stuck on this: how to specify a match pattern that means not
to include "abc"?
I tried:
grep("^(abc)", "hello", value=T) should return "hello".
> grep("[^(abc)]", "hello", value=T)
[1] "hello"
HTH,
Bernd
___
Am 31.03.2011 21:06, schrieb array chip:
Ok then this code didn't do what I wanted. I want "not including
'arg' before '.symptom'", not individual letters of "arg", but rather
as a word.
Bill Dunlap suggested using invert=T, it works for single 1
condition, but not for 2 conditions here: not inc
Am 01.04.2011 11:24, schrieb Yan Jiao:
Dear R users,
I'm trying to add a regression line on my boxplots (something
like:boxplot(c(1:3),c(4:6),c(5:8))) But I can't see it. Please help
!!! It's not a April fool's joke!!!
Your sample data does not make any sense (at least to me). I would do it
a
Am 24.08.2011 07:50, schrieb Paola Tellaroli:
> My script is the following:
>
> library(metafor)
>
> yi<-c(-0.1, 0.2, 0.3, 0.4)
> sei<-c(0.4, 0.2, 0.6, 0.1)
> vi<-sei^2
> studi<-c("A", "B", "C", "D")
> eventi.c<-c(10, 5, 7, 6)
> n.c<-c(11, 34, 25, 20)
> eventi.a<-c(2, 7, 6, 5)
> n.a<-c(11, 35, 25
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
library(lattice)
## works as expected
xyplot(1~1, key = list(text = list(c("Maenner"
## works as expected
xyplot(1~1, key = list(text = list(c("Maenner"))), xlab = "M\344nner")
## gives an error
xyplot(1~1, key = list(text = list(c("M\344nner")
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bernd Weiss schrieb:
| library(lattice)
|
| ## works as expected
| xyplot(1~1, key = list(text = list(c("Maenner"
|
| ## works as expected
| xyplot(1~1, key = list(text = list(c("Maenner"))), xlab = "M\344nner")
|
|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Prof Brian Ripley schrieb:
[...]
| It works correctly for me in CP1252 with R-patched, and gives an error
| in 2.7.0 (and works in 2.6.2). I think it was fixed as side effect of
|
| oRare string width calculations in package grid were not
|
markle...@verizon.net schrieb:
Thanks Petr because I sent Bernd a solution offline but yours is MUCH
NICER. it's not worth showing you because it was pretty ugly.
Dear Mark & Petr,
Thank your very much! I like both solutions. Petr's is the more obvious
one but Mark's solution is good for
Sebastian Stegmann schrieb:
[...]
The R packages "meta" and "rmeta" are, as far as I can see, set up for
analysis with effect sizes for differences (i.e. comparison of the
means/odds-ratios of experimental and control group).
Only the function "metagen" from the "meta"-package looks like it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
skestin schrieb:
| I suppose it's very simple but I can't find the way to generate a
sequence of
| characters, e.g. from "a" to "z".
| Could you please help me with this?
?letters
letters
HTH,
B.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7
Dear all (Hadley, Thierry :-),
I was wondering how to force ggplot/qplot(... geom="histogram") to plot
proportions (or %) instead of counts/densities.
Thanks for your help,
Bernd
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/lis
Dear all,
is this a bug?
> as.numeric(FALSE)
[1] 0
> library(Matrix)
Loading required package: lattice
> as.numeric(FALSE)
Error in UseMethod("as.double") : no applicable method for "as.double"
>
Regards,
Bernd
> version
_
platform i386-pc-mingw32
arch i386
o
Bernd Weiss schrieb:
> Dear all,
>
> is this a bug?
>
>
>> as.numeric(FALSE)
> [1] 0
>> library(Matrix)
> Loading required package: lattice
>> as.numeric(FALSE)
> Error in UseMethod("as.double") : no applicable method for "as.double&qu
Heather Watson schrieb:
> Hello,
>
> I have been working with the meta and rmeta packages in R. Is it possible to
> plot both the fixed and random effects so they appear on the same plot?
> Basically, I would like the plot to show the effects of each study, the
> summary effect for the fixed
Megh Dal schrieb:
> Dear all,
>
> I have following codes:
>
> colnames(data) = c("var", "var", "var")
> i = c(1,2,3)
>
> Now I want construct a "for" loop starting from 1 to 3 to give the new names
> of columns for dataframe "data" like below
>
> colnames(data)
>> c("var1", "var2", "var3")
>
24 matches
Mail list logo