Is this homework? We don't do homework here.

Two hints, though:
use str() to look at your data after you read it into R.
don't use attach().

Sarah

On Mon, Sep 14, 2015 at 10:45 AM, massmatics <2hanl...@naver.com> wrote:
> Make a histogram and boxplot of the data sets: *south.csv*.
>
> south.csv (the following is how it is displayed in the excel file)
> x -> Acolumn, 1st row
> 12
> 10
> 10
> 13
> 12
> 12
> 14
> 7
> 16
> 18
> 8
> 29
> 12
> 14
> 33
> 10
> 6
> 18
> 11
> 25
> 8
> 16
> 14
> 11
> 10
> 20
> 14
> 11
> 12
> 13 ->  Acolumn, 31st row
>
> This is the code I used to run but failed :(
> My solution:
> *south <- read.csv("C:/Users/Win/Desktop/south.csv")
> attach(south)
> hist(south)* --> When I ran this, it didn't work. Isn't this supposed to be
> correct? :(
>
> Thanks!
>
>
>
>
> --
> View this message in context: 
> http://r.789695.n4.nabble.com/I-have-trouble-loading-histogram-tp4712231.html
> Sent from the R help mailing list archive at Nabble.com.
>
-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to