This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is The Best Way To Use Hadoop And R Together For Analysis? |
|
Answer» HDFS can be used for STORING the data for long-term. MapReduce jobs submitted from either Oozie, Pig or Hive can be used to encode, improve and sample the data sets from HDFS into R. This helps to leverage COMPLEX ANALYSIS tasks on the subset of data prepared in R. HDFS can be used for storing the data for long-term. MapReduce jobs submitted from either Oozie, Pig or Hive can be used to encode, improve and sample the data sets from HDFS into R. This helps to leverage complex analysis tasks on the subset of data prepared in R. |
|
| 2. |
What Is The Command Used To Store R Objects In A File? |
|
Answer» save (x, file=”x.Rdata”) |
|
| 3. |
What Are The Different Type Of Sorting Algorithms Available In R Language? |
| Answer» | |
| 4. |
In Base Graphics System, Which Function Is Used To Add Elements To A Plot? |
|
Answer» boxplot () or text () |
|
| 5. |
Dplyr Package Is Used To Speed Up Data Frame Management Code. Which Package Can Be Integrated With Dplyr For Large Fast Tables? |
|
Answer» data.table data.table |
|
| 6. |
What Are With () And By () Functions Used For? |
|
Answer» With () FUNCTION is USED to apply an expression for a given dataset and BY () function is used for APPLYING a function each level of factors. With () function is used to apply an expression for a given dataset and BY () function is used for applying a function each level of factors. |
|
| 7. |
Explain About The Significance Of Transpose In R Language? |
|
Answer» TRANSPOSE t () is the easiest method for RESHAPING the data before ANALYSIS. Transpose t () is the easiest method for reshaping the data before analysis. |
|
| 8. |
What Is The Process To Create A Table In R Language Without Using External Files? |
|
Answer» MYTABLE= data.frame () edit (MyTable) The above CODE will OPEN an Excel Spreadsheet for entering data into MyTable. Learn Data SCIENCE in R Programming to land a top gig as an Enterprise Data SCIENTIST! MyTable= data.frame () edit (MyTable) The above code will open an Excel Spreadsheet for entering data into MyTable. Learn Data Science in R Programming to land a top gig as an Enterprise Data Scientist! |
|
| 9. |
How Many Data Structures Does R Language Have? |
|
Answer» R language has Homogeneous and Heterogeneous DATA structures. Homogeneous data structures have same type of objects – VECTOR, Matrix ad Array. Heterogeneous data structures have DIFFERENT type of objects – Data frames and LISTS. R language has Homogeneous and Heterogeneous data structures. Homogeneous data structures have same type of objects – Vector, Matrix ad Array. Heterogeneous data structures have different type of objects – Data frames and lists. |
|
| 10. |
What Is The Best Way To Communicate The Results Of Data Analysis Using R Language? |
|
Answer» The best possible way to do this is combine the data, code and analysis results in a single document using knitr for REPRODUCIBLE research. This helps others to verify the findings, add to them and engage in DISCUSSIONS. Reproducible research MAKES it easy to redo the experiments by INSERTING new data and applying it to a different problem. The best possible way to do this is combine the data, code and analysis results in a single document using knitr for reproducible research. This helps others to verify the findings, add to them and engage in discussions. Reproducible research makes it easy to redo the experiments by inserting new data and applying it to a different problem. |
|
| 11. |
Which Function In R Language Is Used To Find Out Whether The Means Of 2 Groups Are Equal To Each Other Or Not? |
|
Answer» t.tests () t.tests () |
|
| 12. |
R Language Has Several Packages For Solving A Particular Problem. How Do You Make A Decision On Which One Is The Best To Use? |
|
Answer» CRAN package ECOSYSTEM has more than 6000 packages. The best way for beginners to answer this question is to mention that they WOULD look for a package that FOLLOWS good software development principles. The next THING would be to look for user reviews and FIND out if other data scientists or analysts have been able to solve a similar problem. CRAN package ecosystem has more than 6000 packages. The best way for beginners to answer this question is to mention that they would look for a package that follows good software development principles. The next thing would be to look for user reviews and find out if other data scientists or analysts have been able to solve a similar problem. |
|
| 13. |
How Missing Values And Impossible Values Are Represented In R Language? |
|
Answer» NaN (Not a Number) is used to represent impossible VALUES whereas NA (Not Available) is used to represent missing values. The best WAY to answer this question would be to mention that deleting missing values is not a good IDEA because the probable cause for missing value could be some problem with data collection or programming or the query. It is good to FIND the root cause of the missing values and then take NECESSARY steps handle them. NaN (Not a Number) is used to represent impossible values whereas NA (Not Available) is used to represent missing values. The best way to answer this question would be to mention that deleting missing values is not a good idea because the probable cause for missing value could be some problem with data collection or programming or the query. It is good to find the root cause of the missing values and then take necessary steps handle them. |
|
| 14. |
Explain About Data Import In R Language? |
|
Answer» R Commander is used to import data in R language. To start the R commander GUI, the user must type in the command Rcmdr into the CONSOLE. There are 3 DIFFERENT ways in which data can be imported in R language-
R Commander is used to import data in R language. To start the R commander GUI, the user must type in the command Rcmdr into the console. There are 3 different ways in which data can be imported in R language- |
|