Sorry, I meanwhile realized -- specifying
rgb(255, 128, 128, alpha=0.5*255, maxColorValue=255)
and
rgb(1.0, 0.5, 0.5, alpha=0.5, maxColorValue=1)
gives you (virtually) identical results, i.e., you need to also specify
the "alpha" parameter in the range given by the "maxColorValue"
argument.
Hi,
I experienced a problem with the "rgb()" function.
These two calls should (and do) return identical results:
rgb(255, 128, 128, maxColorValue=255)
rgb(1.0, 0.5, 0.5, maxColorValue=1)
However, when I specify a non-default "alpha" channel (a "transparent"
colour), I get differing results:
Dear R users,
a new version (2.0) of the "bayesmeta" package for Bayesian random-
effects meta-analysis is now available on CRAN; see here:
http://cran.r-project.org/package=bayesmeta
Along with the package now comes an extensive introduction to the topic
as well as the use of the package (als
3 matches
Mail list logo