Check out the interaction.plot function.
On Fri, 8 Jan 2010, lse1986 wrote:
l
l Hi i want do a line graph.
l
l My y axis contains numeric values. My x axis contains non numeric
l statements.
l
l This is what i want the graph to look like.
l
l When i try to plot this graph on R it
On 01/10/2010 01:29 AM, lse1986 wrote:
Hey Jim,
Thanks for your reply!
I tried what you said, i still kept getting errors.
here's what i want my graph to look like:
http://i.imagehost.org/0474/Untitled_5.jpg
Oh, I see.
AandC-data.frame('Not Stir'=c(686.36,398.32),Stir=c(179.17,60.29))
This isn't quite as sophisticated as Jim Lemon's solution (BTW, very nice!),
but here's a way to get
the graph (sans table) using ggplot2 and lattice:
dissolve - data.frame(
Method = rep(c('No Stir', 'Stir'), each = 2),
Type = rep(c('Cube', 'Granules'), 2),
Time =
Dennis and Sam,
Re Dennis' lattice plot:
Here's how you can superpose lines and points in the key.
simpleKey() is not flexible enough, so we use the key list directly.
dissolve - data.frame(
Method = rep(c('No Stir', 'Stir'), each = 2),
Type = rep(c('Cube', 'Granules'), 2),
On 01/09/2010 12:38 PM, lse1986 wrote:
Hi i want do a line graph.
My y axis contains numeric values. My x axis contains non numeric
statements.
This is what i want the graph to look like.
When i try to plot this graph on R it comes up with the following error
message:
Error in
Hey Jim,
Thanks for your reply!
I tried what you said, i still kept getting errors.
here's what i want my graph to look like:
http://i.imagehost.org/0474/Untitled_5.jpg
i have x-c(not stir, stir)
i can't plot it though :(
Jim Lemon wrote:
On 01/09/2010 12:38 PM, lse1986 wrote:
Hi i
Try this:
# create data
x - rbind(Not Stir=c(400, 700), Stir=c(50, 180))
matplot(x, type='o', pch=16, cex=2, xaxt='n')
axis(1, at=1:2, labels=rownames(x))
On Sat, Jan 9, 2010 at 9:29 AM, lse1986 sam_eden1...@yahoo.co.uk wrote:
Hey Jim,
Thanks for your reply!
I tried what you said, i
Hi i want do a line graph.
My y axis contains numeric values. My x axis contains non numeric
statements.
This is what i want the graph to look like.
When i try to plot this graph on R it comes up with the following error
message:
Error in plot.window(...) : need finite 'xlim' values
In
8 matches
Mail list logo