[R] Box Plot With Groups being numbers

Longinus kenneth.chui at gmail.com
Thu Jan 31 20:09:47 CET 2008


Try:

plot(as.factor(rivermile), measurements)

On Jan 31, 2:02 pm, "stephen sefick" <ssef... at gmail.com> wrote:
> I would like to Summarize values that are repeated measures at a
> certain river mile with box plot i.e.
>
> The data matrix looks like this
> 123  124  125                  #fiver mile
> 0.5   0.6   0.7
> 0.4   0.5   0.6
> ...    ...     ...                    #values
>
> I would like to make a boxplot with the river mile naming the
> different box plot.  How do you suppress the X123?
>
> Stephen
> --
> Let's not spend our time and resources thinking about things that are
> so little or so large that all they really do for us is puff us up and
> make us feel like gods.  We are mammals, and have not exhausted the
> annoying little problems of being mammals.
>
>                                                                 -K. Mullis
>
> ______________________________________________
> R-h... at r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list