[R] Questions in R
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Nov 3 14:37:31 CET 2003
On Mon, 3 Nov 2003, John Fox wrote:
> At 11:40 AM 11/3/2003 +0000, =?iso-8859-7?q?vasilis=20pappas?= wrote:
> >Hello,
> >I have 4 questions in R and I am looking for 4 answers!
> >the questions are the below:
> >1) is there a function in R for the Least Significant Difference method
> >for multiple comparisons?
>
> There is a multcomp package that implements many methods for multiple
> comparisons, but I'm not sure whether it does LSD.
You don't need a special function. Fisher's protected LSD first does an
overall F test, then uses the standard formulae as implemented by e.g.
se.contrast. For balanced layouts the LSD is very simple indeed.
> >4) Whis function gives me the opprotunity to give data to my program while
> >it's running?That is, how can i give information, like cin in C++, to my
> >program will it is running in R.
> >
>
> See ?readline.
scan() would be a closer analog. You can use source, read.table, the data
editor, ....
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list