ggplot2 x axis question
On Mon, Jun 29, 2009 at 9:05 AM, hadley wickham<h.wickham at gmail.com> wrote:
In that case, try: qplot(reorder(factor(model),delta),delta,data=growthm.bic) Deepayan: do you think there should also be a numeric method for reorder?
r-devel now has a reorder.default (replacing reorder.factor and reorder.character), so reorder() should also work for numeric data. -Deepayan
Hadley On Mon, Jun 29, 2009 at 10:39 AM, Christopher Desjardins<cddesjardins at gmail.com> wrote:
Hi Hadley, Thanks for the reply and the great graphing package. That code is giving me the following error:
qplot(reorder(model,delta),delta,data=growthm.bic)
Error in UseMethod("reorder") : no applicable method for "reorder"
Cheers,
Chris
[...]