Preview

How to use Rcmdr

Satisfactory Essays
Open Document
Open Document
445 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
How to use Rcmdr
Lab Class I

How to use R Console

Go to R and double click to load program:
You may use R console as calculator as well, just write numbers and click enter:

>1+1 enter
>2

How to use R Commander

To open R console, write:

>library(Rcmdr) → enter

Code will show up in upper window.

Message will show if there is any
Mistake on the formula or if is
Needed to add data set

Note:
If R Command is in Chinese, you may try this:

Close Program → Computer → Local Disk(C:) → Program File → R →
R-301 → etc → R Console→ Ctrl + F → write: Language →Click Enter →
Add after Language= word “en” Language=en → Save Document → Done
How to load data in R commander

Data menu

Data import data from text file
(It depends on how your data is saved)

Enter

This window will pop up

You may enter a name for data set
In order to recognize file later

In the example, we change this to

Commas


Click OK

After clicking OK, Will pop up next window:



NOTE:
It should be only one, but I upload twice 
Don’t know how to eliminate one, but…
Ask Teacher if you want to erase it pls

To verify if Data set was uploaded, we can verify

Click on View Data Set

Then, will pop up Data Set window

Making Graphs
We can make some graph to visualize data

Click on Graph


Then will pop up window below:


For Example,
We choose math

Click on Options
If you need to put more
Options or just click OK

Graph will pop up


In this case it is a normal distribution
If you want to change or add data, you can go to data editor and change variable.

Just have to click
Variable name and that’s it

For changing factor value

Data

Manage Variable Active Data Set

Convert numeric variables to factor

Click Enter

This will pop up

You May Also Find These Documents Helpful