Displaying 3 results from an estimated 3 matches for "haettulegur".
2009 Apr 01
2
help with ggplot2 -- ggpoint function missing?
I'm trying to follow the ggplot introduction here:
http://had.co.nz/ggplot/ggplot-introduction.pdf
I've installed ggplot2 with install.packages("ggplot2", dep=T)
but when I try to run
print(ggpoint(p, list(colour = sex)))
I get an error:
Error in print(ggpoint(p, list(colour = sex))) :
could not find function "ggpoint"
What is the problem? Has the function been
2008 Sep 17
6
creating rainbow gradients
Hi, how can I create a rainbow gradient in R? For example, let's say I have
a plot of y = x...and I want the plot to go from red -> orange -> yellow ->
green -> blue -> etc.
Right now, I know how to do something like go from red to blue, using the
plotrix library:
library(plotrix)
redToBlue <-
2009 Apr 02
1
help with two layers of factors
I have a data frame that looks something like...
Column 1 is an experiment_id, Column 2 is the type of treatment ("control",
"full treatment", or "partial treatment"), and Column 3 is a value.
Experiment_id Treament_type Value
12345 "control" 3
12345 "full treatment" 4
12345 "full treatment" 5
12345 "partial