Hi! Suppose I have a dataset as follows
pd = c(10,7,10,11,7,11,7,6,8,3,12,7,7,10,10) I wish to calculate the mean, standard deviation, median, skewness and kurtosis i.e. regular standard statistical measures. average = mean(pd) stdev = sd(pd) median = median(pd) skew = skewness(pd) kurt = kurtosis(pd) Q. No (1) How do I get these at a stretch using some R package? I came across moments and e1071 package, but I am not sure which one to use and how? Q. No. (2) Many times I came across the command set.seed(1234) What is the significance of this command. I understand this is related to random number generation. But what does it do? Thanking in advance Amelia [[alternative HTML version deleted]]
______________________________________________ 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.