Hi:
This sounds like your standard error bar plot. Here's one way to get it,
using lists, melt() from the reshape package and ggplot2.
# Generate 50 fake data sets with 200 rows and variables send, receive:
for(i in seq_len(50)) assign(paste('df', i, sep = ''),
data.frame(send = rnorm(200,
Thanks Matt,
I've been trying to get the data into a format that boxplot will accept, but
I'm having trouble.
If I read in my file directly
data <- read.table("base100.log")
plot(data)
It plots the Send data against the Receive data, using one as x, and one as
y.
That's not too surprising, so I
It looks like read.table is reading the first line as a data value,
which is the default for read.table. Try using read.table with the
argument header=TRUE. Also, consider using a box and whiskers plot for
these data (?boxplot, ?lattice::bwplot).
-Matt
On Mon, 2010-07-05 at 12:08 -0400, Ian Bentl
Hello!
I need to make a plot with whispers that does the following.
Reads in 50 files, each file containing 200 data points. A file looks like
this:
base100.log
Send Receive
10.5 100.3
15.0 102.4
...
There are 100 lines, each with two data points. I need to read in the 50
files, and plot t
4 matches
Mail list logo