[R] help with R

John Sorkin jsorkin at grecc.umaryland.edu
Thu Jan 10 01:00:14 CET 2008


Sitadri,
I would also look at
http://www.math.ilstu.edu/dhkim/Rstuff/Rtutor.html
a site that was pointed out in a recent posting to the listserve by John Kane.

John

Sitadri,
What operating system are you using? Have you loaded R onto you computer? If not I suggest you do so. You can than enter the command
?lm
which will give you information about lm command, the command used to perform linear regresssion. I would also suggest that you go to
http://cran.r-project.org/doc/manuals/R-intro.html
and do some reading of the introduction document. Once you have done this you should be able to get started using R and will be able to ask a question that we can more easily answer.
John

John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D. Pepper OAIC,
University of Maryland Clinical Nutrition Research Unit, and
Baltimore VA Center Stroke of Excellence

University of Maryland School of Medicine
Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524

(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)
jsorkin at grecc.umaryland.edu
>>> <Sitadri_Bagchi at swissre.com> 01/09/08 4:35 PM >>>
 Folks, Two simple questions :

(1) I have a data set (call it data.xls) in a folder in my hard drive. How 
do I perform a simple regression between two variables from that data set? 
 After I click on 'R', what exactly do I type in?

(2) Where do I get to see the complete library of packages offered by R? 
In particular, I am interested in quantile regression and logistic 
regression.

Thanks.

                Sitadri




This e-mail, including attachments, is intended for the person(s) or company named and may contain confidential and/or legally privileged information. Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender.
All incoming and outgoing e-mail messages are stored in the Swiss Re Electronic Message Repository. If you do not wish the retention of potentially private e-mails by Swiss Re, we strongly advise you not to use the Swiss Re e-mail account for any private, non-business related communications.
	[[alternative HTML version deleted]]

______________________________________________
R-help at 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.

Confidentiality Statement:
This email message, including any attachments, is for th...{{dropped:6}}




More information about the R-help mailing list