R is a programming language which is used for developing statistical software and data analysis. It is being increasingly deployed for machine learning applications as well.

2. How R commands are written?

By using # at the starting of the line of code like #division commands are written.

3. What is t-tests() in R?

It is used to determine that the means of two groups are equal or not by using t.test() function.

4. What are the disadvantages of R Programming?

The disadvantages are:-  
  • Lack of standard GUI
  •  Not good for big data.
  •  Does not provide spreadsheet view of data.
5. In R programming, how missing values are represented?

In R missing values are represented by NA which should be in capital letters.

6. What is the use of subset() and sample() function in R?

Subset() is used to select the variables and observations and sample() function is used to  generate  a random sample of the size n from a dataset.

7. Explain what is transpose.

Transpose is used for reshaping of the data which is used for analysis. Transpose is performed by t() function.

  • The advantages are:-
  • It is used for managing and manipulating of data.
  • No license restrictions
  • Free and open source software.
  • Graphical capabilities of R are good.
  • Runs on many Operating system and different hardware and also run on 32 & 64 bit processors etc.
9. How you can produce co-relations and covariances?
Cor-relations is produced by cor() and covariances is produced by cov() function.

10. What is difference between matrix and dataframes?

Dataframe can contain different type of data but matrix can contain only similar type of data.

Thanks & Regards
Sky InfoTech Pvt. Ltd.
A -50, Sector-64, Noida  (UP)
Ph. 0120 - 4242224
Noida:  9717292598 / 9717292599
Delhi:  9717292601 / 9717292602
Gurgaon:  9810866624 / 9810866642
Website:   https://skyinfotech.in/r-programming-training-in-delhi.php