Q1. What is R?
R is a language and environment for statistical computing and graphics. It is an open source programming language. R provides a wide variety of statistical and graphical techniques and is highly extensible. Data miners use it for developing statistical software and data analysis. One of the R’s strengths is the ease with which well-designed publication-quality plots can be produced, including mathematical symbols and formulae where needed. R is available as Free Software under the terms of the Free Software Foundation’s GNU General Public License in source code form. It compiles and runs on a wide variety of UNIX platforms and similar systems (including FreeBSD and Linux), Windows and MacOS. The R command line interface(CLI) consist of a prompt, usually the > character.
Q2. Is R is a slow language?
Q3. List the different data structures in R langauage?
R contains primarily the following data structures :
The first three data types (vector, matrix, array) are homogeneous in behavior. It means all contents must be of the same type. The fourth and fifth data types (list, data frame)are heterogeneous in behavior. It implies they allow different types. And the factor data type is used to store categorical variable.
Q4. What are programming features of R?
Q5. What are R Functions?
A function is a piece of code written to carry out a specified task. Thus it can or can’t accept arguments or parameters and it can or can’t return one or more values. In R, functions are objects in their own right. Hence, we can work with them exactly the same way we work with any other type of object.
Q6. What are the different data objects in R?
Data Objects in R are listed below:
Q7. What makes a variable name valid in R?
Variable name starts with an alphabet letter
Variable consisting of number, dot, and underscore
Q8. What is R Base package?
R Base package basically provides input/output functionality and arithmetic calculation functionality.R Base package is automatically installed at the time of R Programming Environment setup.
Q9. What is Predictive analysis process in R?
Q10. What are the various sorting algorithms in R?
Major five sorting algorithms :
Q11. What are the applications of R?
Q12. What are various ways to write loop in R
There are primarily three ways to write loop in R
Q13. What is Visualization in R?
Visualization is any technique for creating images, diagrams, or animations to communicate a message. Visualization through visual imagery has been an effective way to communicate both abstract and concrete ideas since the dawn of humanity.
Q14. What are statistical and programming features of R?
Statistical Features-
Programming Features-
Q15. What are Generic Functions in R?
R has three object-oriented (OO) systems: [[S3]], [[S4]] and [[R5]]. … A method is a function associated with a particular type of object. S3 implements a style of object-oriented programming called generic-function OO
Q16. List out some of the function that R provides?
Q17. What is R’s C interface?
R’s source code is a powerful technique for Improving Programming skills. But, many base R function was already written in C. It is been used to figure out how those functions work. All functions in R defined with the prefix Rf_ or R_.
Outline of Rs C interface
Q18. What is reshaping of data in R?
In R Programming, reshaping of data is the conversion of one data object into other data object.
Q19. How is R used in logistic regression?
In R Programming, glm() method is used to create logistic regression and logistic regression works with measuring the probability of a binary response variable.
Q20. How can you load and use CSV files in R?
In R Programming language, read.cvs method is used to load CSV files.