[R] Histogram from a single column of a data frame
wdunlap at tibco.com
Sat Sep 27 00:25:07 CEST 2014
(I suspect that summary(Breed) does not work in your current session either -
perhaps you had a dataset named just Breed or had attached the data.frame
oded in the session where summary(Breed) works.)
On Fri, Sep 26, 2014 at 10:57 AM, Richard Lerner <richardl at uchicago.edu> wrote:
> Column 7 of "oded" is "Breed". If I enter
> I get the counts of the numbers in each breed.
> However, if I enter
> I have tried
> Error: unexpected '$' in "hist($"
> Error in hist(Breed) : object 'Breed' not found
> Error in hist.default("Breed") : 'x' must be numeric
>  "Subject.Name" "Date" "Species"
> "Age" "Sex"
>  "Spayed....Neutered" "Breed" "Breed.Code"
> How do I get a histogram of the counts in column 7?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help