On 7/7/2010 1:11 PM, Ian Bentley wrote:
Hi all,
I'm trying to use ggplot to make a boxplot of some data, but I can't seem to
figure out how to make it use the data I'm giving it.
The data is in a data.frame so that it has two columns:
meltl
value L1
1234 1
1234 1
1235 1
...
1255 1
2335
What about this:
> testdata <- cbind.data.frame(value = runif(100), L1 = rep(1:10, each=10))
> head(testdata)
value L1
1 0.3370902 1
2 0.6766098 1
3 0.2433171 1
4 0.8848674 1
5 0.5253600 1
6 0.4067238 1
> tail(testdata)
value L1
95 0.8149121 10
96 0.5186669 10
97 0.1080695 1
Hi all,
I'm trying to use ggplot to make a boxplot of some data, but I can't seem to
figure out how to make it use the data I'm giving it.
The data is in a data.frame so that it has two columns:
>meltl
value L1
1234 1
1234 1
1235 1
...
1255 1
2335 2
3444 2
...
10001 50
12311 50
...
The fi
3 matches
Mail list logo