Skip to content

plot 3 lines with ggplot2

1 message · James

#
Justin,

Thanks for your help.
On Mon, Sep 12, 2011 at 2:19 PM, Justin Haynes <jtor14 at gmail.com> wrote:
Yes, I'm sorry about that.  I should not have used cbind when forming
my data.frame.  It changed my numeric data to character.  This command
would have been better.

x <- data.frame(Symbol = sym, X1 = x1/sum(x1), X2 = x2/sum(x2), X3 =
x3/sum(x3), stringsAsFactors = FALSE)
Yes, that's 90% of what I was looking for.  The rest is just formatting.
Thanks so much for the help.  It's much easier understanding when I
can see an example with my own data.  I'll keep working to get the
more custom formatting of the example plot.

Thank you,

James