- Home
- All Courses
- Web Development
- R Tutorial
Curriculum
- 47 Sections
- 230 Lessons
- 10 Weeks
Expand all sectionsCollapse all sections
- R - Chi Square Test0
- R - OperatorsAn operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. R language is rich in built-in operators and provides following types of operators.5
- R - Overview3
- R - Environment Setup1
- R - Basic Syntax4
- R - Data Types7
- R - Variables5
- R - Decision making1
- R - Loops2
- R - Functions7
- R - Strings3
- R - Vectors4
- R - Lists7
- R - Matrices3
- R - Arrays5
- R - Factors4
- R - Data Frames6
- R - Packages7
- R - Data Reshaping6
- R - CSV Files6
- R - Excel File5
- R - Binary Files3
- R - XML Files5
- R - JSON Files5
- R - Web Data4
- R - Databases9
- R - Pie Charts4
- R - Bar Charts3
- R - Boxplots3
- R - Histograms2
- R - Line Graphs3
- R - Scatterplots3
- R - Mean, Median and Mode6
- R - Linear Regression4
- R - Multiple Regression3
- R - Logistic Regression2
- R - Normal Distribution5
- R - Binomial Distribution5
- R - Poisson Regression2
- R - Analysis of Covariance5
- R - Time Series Analysis3
- R - Nonlinear Least Square2
- R - Decision Tree2
- R - Random Forest2
- R - Survival Analysis2
- R - Chi Square Test3
- R - Interview Questions49
- 47.1What is R Programming?
- 47.2What are the different data objects in R?
- 47.3What makes a valid variable name in R?
- 47.4What is the main difference between an Array and a matrix?
- 47.5Which data object in R is used to store and process categorical data?
- 47.6How can you load and use csv file in R?
- 47.7How do you get the name of the current working directory in R?
- 47.8What is R Base package?
- 47.9How R is used in logistic regression?
- 47.10How do you access the element in the 2nd column and 4th row of a matrix named M?
- 47.11What is recycling of elements in a vector? Give an example.
- 47.12What are different ways to call a function in R?
- 47.13What is lazy function evaluation in R?
- 47.14How do you install a package in R?
- 47.15Name a R packages which is used to read XML files.
- 47.16Can we update and delete any of the elements in a list?
- 47.17Give the general expression to create a matrix in R.
- 47.18which function is used to create a boxplot graph in R?
- 47.19In doing time series analysis, what does frequency = 6 means in the ts() function?
- 47.20What is reshaping of data in R?
- 47.21What is the output of runif(4)?
- 47.22How to get a list of all the packages installed in R ?
- 47.23What is expected from running the command – strsplit(x,”e”)?
- 47.24Give a R script to extract all the unique words in uppercase from the string – “The quick brown fox jumps over the lazy dog”.
- 47.25Vector v is c(1,2,3,4) and list x is list(5:8), what is the output of v*x[1]?
- 47.26Vector v is c(1,2,3,4) and list x is list(5:8), what is the output of v*x[[1]]?
- 47.27What does unlist() do?
- 47.28Give the R expression to get 26 or less heads from a 51 tosses of a coin using pbinom.
- 47.29X is the vector c(5,9.2,3,8.51,NA), What is the output of mean(x)?
- 47.30How do you convert the data in a JSON file to a data frame?
- 47.31Give a function in R that replaces all missing values of a vector x with the sum of elements of that vector?
- 47.32What is the use of apply() in R?
- 47.33Is an array a matrix or a matrix an array?
- 47.34How to find the help page on missing values?
- 47.35How do you get the standard deviation for a vector x?
- 47.36How do you set the path for current working directory in R?
- 47.37What is the difference between “%%” and “%/%”?
- 47.38What does col.max(x) do?
- 47.39Give the command to create a histogram.
- 47.40How do you remove a vector from the R workspace?
- 47.41List the data sets available in all available packages.
- 47.42What is the use of the command – install.packages(file.choose(), repos=NULL)?
- 47.43Give the command to check if the element 15 is present in vector x.
- 47.44Give the syntax for creating scatterplot matrices.
- 47.45What is the difference between subset() function and sample() function in R?
- 47.46How do you check if “m” is a matrix data object in R?
- 47.47What is the output for the below expression all(NA==NA)?
- 47.48How to obtain the transpose of a matrix in R?
- 47.49What is the use of “next” statement in R?
overview
We use Regression analysis to create models which describe the effect of variation in predictor variables on the response variable. Sometimes, if we have a categorical variable with values like Yes/No or Male/Female etc. The simple regression analysis gives multiple results for each value of the categorical variable. In such scenario, we can study the effect of the categorical variable by using it along with the predictor variable and comparing the regression lines for each level of the categorical variable. Such an analysis is termed as Analysis of Covariance also called as ANCOVA.