R Interview Questions – Set 05

What are the advantages and disadvantages of R? Advantages Open Source Data Wrangling Array of Packages Platform Independent Machine Learning Operations Disadvantages Weak origin Data Handling Basic Security Complicated Language Lesser Speed The with() function applies an expression to a dataset, and the by() function applies a function to each level of factors. The lapply … Read more

R Interview Questions – Set 04

How can we find the mean of one column with respect to another? In iris dataset, there are five columns, i.e., Sepal.Length, Sepal.Width, Petal.Length, Petal.Width and Species. We will calculate the mean of Sepal-Length across different species of iris flower using the mean() function from the mosaic package. mean(iris$Sepal.Length~iris$Species) Explain Chi-Square Test The Chi-Square Test … Read more

R Interview Questions – Set 03

What is the difference b/w sample() and subset() in R? The sample() method is used to choose a random sample of size n from a dataset while the subset method is used to choose variables and observations. Explain initialize() function in R? This function is used to initialize the private data members while declaring the … Read more

R Interview Questions – Set 02

Explain the doBy package? This package is used to define the desired table using function and model formula. Give names of those packages which are used for data imputation. There are the following packages which are used for data imputation MICE missFores Mi Hmisc Amelia imputeR Explain S3 and S4 systems. In oops, the S3 … Read more

R Interview Questions – Set 01

Explain anova() function. The anova() function is used for comparing the nested models. Explain aggregate() function. The aggregate() function is used to aggregate data in R. There are two methods which are collapsing data by using one or more BY variable and other is an aggregate() function in which By variable should be in the … Read more

R Interview Questions

R Interview Questions – Set 05 R Interview Questions – Set 04 R Interview Questions – Set 03 R Interview Questions – Set 02 R Interview Questions – Set 01