Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior |
eventos:venables2007:materiais [2007/09/10 23:02] – paulojus | eventos:venables2007:materiais [2007/09/22 23:56] (atual) – paulojus |
---|
====== Materiais do curso ====== | ====== Venable's short course -- materials ====== |
| |
| **Atention:** the download of the course materials below **DO NO WORK WITH INTERNET EXPLORER**. Use another browser, as for instance [[http://http://www.mozilla.com|Mozilla Firefox]] |
| |
==== Course materials ==== | ==== Course materials ==== |
| {{eventos:venables2007:powerpoint_slides.zip|Slides powerpoint}}| -- | -- | | | {{eventos:venables2007:powerpoint_slides.zip|Slides powerpoint}}| -- | -- | |
| |
| |
==== Other materials ==== | ==== Other materials ==== |
- ASOR package | - ASOR package (//already installed in the C3SL servers//) |
* {{eventos:venables2007:asor_1.0.tar.gz|.tar.gz file}} (for linux install) | * {{eventos:venables2007:asor_1.0.tar.gz|.tar.gz file}} (for linux install) \\ **NOTE:** the WIKI system makes all files lower case(!) so, before installing this in your LINUX box you need to rename the file:<code> |
| $ mv asor_1.0.tar.gz ASOR_1.0.tar.gz |
| $ sudo R CMD INSTALL ASOR_1.0.tar.gz |
| </code> |
* {{eventos:venables2007:asor_1.0.zip|.zip file}} (for windows install) | * {{eventos:venables2007:asor_1.0.zip|.zip file}} (for windows install) |
- Text: {{eventos:venables2007:exegeses.pdf|Exegeses in Linear Models}} | - Text: {{eventos:venables2007:exegeses.pdf|Exegeses in Linear Models}} |
| - Additional scripts: |
| * {{eventos:venables2007:boston.r|Boston housing price -- setting training and test data for tree model using ''rpart()'' and ''randomForest''}} |
| * {{eventos:venables2007:menarche.r|Menarche data -- GLM for binomial counts}} |
| * {{eventos:venables2007:plinear.r|the plinear method for non linear models}} |
| |
===== Instructions ===== | ===== Instructions for usage at LM/C3SL - UFPR===== |
| |
In the following ''$'' is the LINUX prompt and ''>'' is the R prompt | At UFPR the course will be run in the LM (Laboratório Multiterminal) run by C3SL (Contro de computação científica e Softaware Livre). The LM provides LINUX terminals connected with servers. The user working area is common meaning you can user whatever terminal and/or server to get access to your account. |
| |
- Open a ''terminal window'' where you can type LINUX commands | In the following instructions the LINUX prompt is ''$'' and the R prompt is ''>''. |
- create a working directory called ''Rmodelling'' for the course and get into the directory:<code> | |
| - Open a Linux ''terminal window'' for issuing LINUX commands |
| - create a working directory called, for example, ''Rmodelling'' for use in this course move to it:<code> |
$ mkdir Rmodelling | $ mkdir Rmodelling |
$ cd Rmodelling | $ cd Rmodelling |
Rmodelling$ unzip slides.zip | Rmodelling$ unzip slides.zip |
</code> | </code> |
- copy two files from the CSV directory to the working directory:<code> | - copy one file from the CSV directory to the working directory:<code> |
Rmodelling$ cp CSV/.RData . | |
Rmodelling$ cp CSV/makeInputData.r . | Rmodelling$ cp CSV/makeInputData.r . |
</code> | </code> |
</code> | </code> |
* running from inside the editor ''xemacs'' using the ESS (Emacs Speaks Statistics) package. To do so open ''xemacs'' and stard R from it with ''ESC SHIFT-X SHIFT-R''<code> | * running from inside the editor ''xemacs'' using the ESS (Emacs Speaks Statistics) package. To do so open ''xemacs'' and stard R from it with ''ESC SHIFT-X SHIFT-R''<code> |
Rmodelling$ xemacs & | Rmodelling$ xemacs makeInputData.R & |
</code> | </code> |
- From inside ''R'' run the ''makeInputData.r'' script<code> | - From inside ''R'' run the ''makeInputData.r'' script<code> |
> source("inputData.R") | > source("inputData.R") |
</code> | </code> |
| |
| |
| |
| |