Re: [R] labelling a plot in binom library function call

2014-04-01 Thread Pascal Oettli
Hello, The "binom" package is using "ggplot2" to plot the density. Thus, you have to follow the "ggplot2" syntax: R> binom.bayes.densityplot(hpdc) + ggtitle("my plot") HTH Pascal On Tue, Apr 1, 2014 at 7:41 AM, Chris wrote: > Hi, I'm using a function in the binom library. I'd like to add a t

[R] labelling a plot in binom library function call

2014-03-31 Thread Chris
Hi, I'm usingĀ  a function in the binom library. I'd like to add a title(s) to the plot generated by "binom.bayes.densityplot". I get an error message when trying to use the title function The error message is: "Error in title(main = "my plot") : plot.new has not been called yet" occurs after run