From: Adaikalavan Ramasamy (gisar@nus.edu.sg)
Date: Mon 24 Feb 2003 - 16:30:08 EST
Message-id: <024D6AEFCB92CB47BA1085751D184BB80105F217@MBXSRV03.stf.nus.edu.sg>
c = concatenate / combine
Try help(c) or under the 'Vector and Assignments' section of An
Introduction to R.
You have to put the folder 'faraway' into c:/.../R/rw1061/library/
where ... is your path to R and rw1061 could be rw1062 ect depending on
your version.
-----Original Message-----
From: Christoph Lehmann [mailto:lehmann@puk.unibe.ch]
Sent: Sunday, February 23, 2003 12:49 AM
To: r-help@stat.math.ethz.ch
Subject: [R] faraway tutorial: cryptic command to newbie
I am just about working through Faraways excellent tutorial "practical
regression and ANOVA using R"
on page 24 he makes the x matrix:
x <- cbind(1,gala[,-c(1,2)])
how can I understand this gala[,-c(1,2)])... I couldn't find an
explanation of such "c-like" abbreviations anywhere.
thanks for a hint.
another problem: I couldn't load the faraway library, using the
library() command, even though I specified the path, .. do I need to put
library files into a certain directory? I always got an error: Error in
library(faraway) : There is no package called `faraway'
Thanks a lot
christoph
-- Christoph Lehmann Department of Psychiatric Neurophysiology University Hospital of Clinical Psychiatry Waldau CH-3000 Bern 60 SwitzerlandPhone: ++41 31 930 93 83 Mobile: ++41 31 570 28 00 Fax: ++41 31 930 99 61 Email: lehmann@puk.unibe.ch Web: http://www.puk.unibe.ch/cl/pn_ni_cv_cl.html
______________________________________________ R-help@stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
______________________________________________ R-help@stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:23 EST