Displaying 5 results from an estimated 5 matches for "emberson".
Did you mean:
aemerson
2008 Jul 30
1
function to transform response of a formula
...722365484, 0.62522904924117,
0.899310540175065,
0.877736972644925) ~ a + b
> terms(newfm)
Error in terms.formula(fmapply(fm, identity)) :
invalid term in model formula
Could someone put me in the right direction of how to correctly write a
respapply function as described.
Regards,
Paul Emberson
2009 May 07
2
64 bit R double precision
Hi,
If R is compiled for a 64 bit platform, does the double data type make
use of the additional precision or is it set at a fixed length?
Thanks,
Paul
2008 Aug 14
1
ggplot2: remove minor-horizontal guide before drawing
Hi,
I want to remove minor-horizontal and minor-vertical lines from a plot
generated with ggplot2. I can do this after the plot has been drawn
using grid.gremove.
However, I would like to do it before drawing my plot. The ggplot2 book
refers to a ggplotGrob function which creates a grob from a plot but
this function doesn't seem to exist in ggplot2 0.6.
Is there another way to do it?
2008 Nov 24
1
ggplot2: positioning legend on top of plot
Hi,
With ggplot2 v0.8, how do I position a legend on top of the plot. Things
like
p + opts(legend.position="top")
work ok. But
p + opts(legend.position=c(0.5,0.5))
gives
Error in as.character(x) :
cannot coerce type 'closure' to vector of type 'character'
so obviously I should be giving a string instead but I can't figure out
what it should be.
Thanks,
2009 May 16
1
ggplot2: annotating plot with mathematical formulae
Hi,
Is there a way of annotating a ggplot plot with mathematical formulae?
I can do
geom_text(aes(label="some text", ...
but I can't do
geom_text(aes(label=expression(x^{n-1}), ...
It gives the error
Error: geom_text requires the following missing aesthetics: label
Is there a convenient equivalent?
Cheers,
Paul