Thank you both for the suggestions.
That worked great djmuse.
djmuseR wrote
> Hi:
>
> Here's a way you could do it entirely within ggplot2. The annotation
> functions have a parse = argument which allows you to pass character
> string representations of math expressions, but there is no such th
Hi:
Here's a way you could do it entirely within ggplot2. The annotation
functions have a parse = argument which allows you to pass character
string representations of math expressions, but there is no such thing
in the scale functions, so you need a different approach.
library(ggplot2)
df <- dat
Hi,
If you want to stick with the unicode way make sure to set your
encoding system, e.g., on Mac
Sys.setlocale("LC_ALL", "en_US.UTF-8")
This differs on Windows/Linux so see ?Sys.setlocale for examples on
other platforms.
Best,
Ista
On Thu, Mar 28, 2013 at 5:22 PM, soon yi wrote:
> Hi
>
> I a
Hi
I am trying to add a less than equal sign to a plot. I have previously done
this using unicode but is not working in this instance. Any suggestions
would be great
thanks
example code:
library(ggplot2)
df<-data.frame(vis=c(0,0,1,1) , count=c(10,15,20,10) , grp=c(0,1,0,1))
df$grp <-factor(df$g
4 matches
Mail list logo