https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
We need some explanation of what " the expected value" is. A mean perhaps? John Kane Kingston ON Canada > -----Original Message----- > From: henrik.ala...@helsinki.fi > Sent: Wed, 5 Feb 2014 11:46:19 +0200 > To: r-h...@stat.math.ethz.ch > Subject: [R] expected value with R > > > Dear recipient > I am using the r-program to do calculations with my data. > I would like to ask you how to calculate the expected value with R > using this data? I only get an error message in response. Attached is > my data. > > Thank you for your kind answer! > Henrik Alanko > Faculty of statistics > Helsinki University > ______________________________________________ > 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. ____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails ______________________________________________ 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.