Hello dear Henser,
You seem to be asking a homework question, which you will not get answers
for here.
In short, have a look at:
?read.table
For reading the data. And:
?mean
For the mean...
And go read through an introductory book on R.
There is a long list here:
http://www.r-project.org/doc/bib/R-books.html
And another list here: (this link includes only freely available books)
http://www.r-statistics.com/2009/10/free-statistics-e-books-for-download/
Cheers,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------
On Thu, Dec 8, 2011 at 8:34 PM, Henser <henserghai@googlemail.com> wrote:
> My problem is very easy, but it took me hours without a solution.
>
> So, I have to take any data set from UCI repository website for example
> this
> one which is about consensus income:
>
> http://archive.ics.uci.edu/ml/datasets/Census+Income
>
> And here is the data folder:
>
> http://archive.ics.uci.edu/ml/machine-learning-databases/adult/
>
> My task is to caculate to do this:
> a) Calculate measures of centrality (mean, median,...), dispersion (IQR,
> standard
> deviation...) and shape (skewness and kurtosis).
> b) Make histograms, normal probability plots, bar plots, box-plots and stem
> and leaf
> plots.
> c) Study the relation between, at least, two quantitative variables with a
> linear
> regression model.
>
>
> The first big problem is: how to load the data base into R? Can someone
> give
> me the code? It took me hours without finding the solutions.
> The second question is where can I get the code for calculating the mean?
> The reason I found different types of codes but I dont know which one is
> correct so I am rather confused. (I have never used R before,I just
> installed it on Windows). Can someone give me the code for mean and a code
> for a bar plot so that in this I can try to solve all the questions. I only
> need initial help. Thanks!
>
> --
> View this message in context:
>
http://r.789695.n4.nabble.com/How-to-load-the-data-set-from-an-URL-Link-tp4173731p4173731.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> 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.
>
[[alternative HTML version deleted]]