R- STUDIO

SIMPLE CALULATIONS

1. Insert a new script

2. Make simple calculations

a. 1+5

b. 8+9

3. Run both calculation and insert the screenshot of them below here

MAKING NEW VARIABLES

1. Create 3 variables

a. X=1,2,3,4,5,6

b. Y=7,8,9,10,11,12

c. Z=4,5,3,4,5,6

d. Take a screenshot of the R-studio and post the screenshot here

ADDING VARIABLES

1. Add X+Y

2. Take a screenshot of RStudio and post it underneath here

REMOVING VARIABLES1.

1. Remove Variable Z

2. Take a screenshot of RStudio and Post it here

FINDING MEAN, MEDIAN, AND MODE

1. Find the Mode of variable X

2. Find the Mean of Variable X

3. Find the Median of Variable X

4. Take a screenshot of the RStudio and past it underneath here

CREATING A MATRIX

1. Create a matrix named F and 6 data values, 2 columns and 3 rows.

2. Run the Matrix and paste the screenshot underneath here

CREATING NORMALLY DISTRUBUTED DATA

1. Create a normally distributed data of 25 values with a mean of 25, and a standard dev. Of 4

2. Run the data and paste the screenshot below here.

INSTAL PACKAGES (FORECAST AND TSERIES)AND WORK WITH THOSE PACKAGES

1. Make sure that packages of Forecast and Tseries are installed

2. Take a screenshot of R studio and post it underneath here.

Powered by WordPress