Re: [R] mean computation for external data

2008-11-06 Thread Jorge Ivan Velez
Hi Christabel, Take a look at the function basicStats in the fBasics package. Here is an example: library(fBasics) set.seed(123) x=rnorm(20,24,2) basicStats(x) #x #nobs 20.00 #NAs 0.00 #Minimum 20.066766 #Maximum 27.573826 #1. Quartile 23.012892 #3. Quartile 2

Re: [R] mean computation for external data

2008-11-06 Thread John Kane
?mean kurtosis http://finzi.psych.upenn.edu/R/Rhelp02a/archive/110186.html --- On Thu, 11/6/08, christabel_jane prudencio <[EMAIL PROTECTED]> wrote: > From: christabel_jane prudencio <[EMAIL PROTECTED]> > Subject: [R] mean computation for external data > To: r-help@r-p

[R] mean computation for external data

2008-11-06 Thread christabel_jane prudencio
I have an external data (.txt) for annual peak flood. The first column is the year, second column is the observation date, and the last is the observed discharge. My task is to calculate the mean, skewness and kurtosis of the said data. I was advised to use read.table() to read the entire data.

Re: [R] mean computation for external data

2008-11-06 Thread Uwe Ligges
christabel_jane prudencio wrote: I have an external data (.txt) for annual peak flood. The first column is the year, second column is the observation date, and the last is the observed discharge. My task is to calculate the mean, skewness and kurtosis of the said data. I was advised to use

[R] mean computation for external data

2008-11-06 Thread christabel jane
__ 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.