es to my favourite breed of Durham.
> >
> > Have a look at one (or both) of these links for some useful suggestions
> > on how to ask questions on R-help. In particular, read about dput. It
> > is by far the best way to supply sample data for the readers.
> >
> > Good
> Sent: Sun, 15 Mar 2015 04:53:39 -0800
> To: lyl...@gmail.com, r-help@r-project.org
> Subject: Re: [R] How am i able to create Box plots of a factor (weight)
> separated by other factors (breed)?
>
> As a follow up to Thierry's response.
>
> With data as dat1
>
favourite breed of Durham.
Have a look at one (or both) of these links for some useful suggestions on how
to ask questions on R-help. In particular, read about dput. It is by far the
best way to supply sample data for the readers.
Good luck
John Kane
Kingston ON Canada
> -----Ori
On Sun, 15 Mar 2015, Lyle Warren wrote:
I have data with columns for animal ID, breed, and weight.
I'd like to create a box plot of weight, separated by breed (there are 4
breeds).
Any ideas?
1. Did you check the help page: ?boxplot
Here's a sample of the data (there are 100 rows):
id
Hello,
Try, if your data.frame is named 'animal',
boxplot(weight ~ breed, data = animal)
Hope this helps,
Rui Barradas
Em 15-03-2015 03:50, Lyle Warren escreveu:
I have data with columns for animal ID, breed, and weight.
I'd like to create a box plot of weight, separated by breed (there a
Have a look at http://docs.ggplot2.org/current/geom_boxplot.html
You will find several examples there.
Best regards
Op 15-mrt.-2015 04:59 schreef "Lyle Warren" :
> >
> >
> > I have data with columns for animal ID, breed, and weight.
> >
> > I'd like to create a box plot of weight, separated by b
>
>
> I have data with columns for animal ID, breed, and weight.
>
> I'd like to create a box plot of weight, separated by breed (there are 4
> breeds).
>
> Any ideas?
>
> Here's a sample of the data (there are 100 rows):
>
> id weight breed
> 1 453 brahman
> 2 527 brahman
7 matches
Mail list logo