Answer following questions i. m ←matrix(c(1:4), 2, 2) then t(m) = __________. ii. In abline(a, b) function, b represents ___________ of a line. iii. What is the function used to test objects (returns a logical operator) if they are NaN? iv. Rfiles has an extension ______. v. In Rlanguage, a vector is defined that it can only contain objects of the ________. vi. __________ function is used to watch for all available packages in library. vii. Function used for linear regression in Ris __________.
[7 marks]What is data analytics? Explain types of data analytics.
[7 marks]Explain following functions : i. list() ii. paste() iii. plot() iv. ts() v. setwd() vi. assign() vii. class()
[7 marks]Explain data type in detail with example.
[7 marks]Describe lazy evaluation of function. Also explain calling a function
[7 marks]with argument (ii) without argument with example
[ marks]How to read data from excel and database? Explain in detail
[7 marks]What is high level and low level graphics in R? Explain histogram and pie chart OR1
[7 marks]Create a data frame for the following data of student marks of three subjects. Roll_No. Name DM CONM SM S0001 XYZ 60 70 55 S0002 ABC 50 80 30 S0003 PQR 50 60 45 S0004 DEF 75 85 75 S0005 RST 20 50 40 Perform following operations. i. Display all records in alphabetical order of names. ii. Display all records in descending order of total marks. iii. List the student name having highest percentage. iv. Plot stacked bar plot representing marks of all three subjects for every student.
[7 marks]Explain pie ( ) and hist() functions with its all parameters.
[7 marks]Write an Rscript that will read Nnumbers from keyboard and categorize this read data into five frequency classes of 0-10, 10-20, 20-30, 30-40 and 40-50. Display frequency distribution class wise.
[7 marks]What is Survival Analysis? Give syntax of surv ( ) and survfit( ) function.
[7 marks]Write a code to read a .csv file containing enrollment number, marks obtained out of 700. Along with displaying data, print minimum marks, maximum marks, mean, median, mode, average marks.
[7 marks]Explain time series and logistic regression with example.
[7 marks]What is Normal Distribution? Explain following function used in Rfor Normal distribution.
[7 marks]dnorm( ) ii) pnorm( )
[ marks]Explain three different ways to create a matrix in R. How a created matrix can be initialized with 0. State the difference between “*” and “%*%” to multiply two matrices.
[7 marks]Explain various types of loops in R.
[7 marks]Define prescriptive analysis and explain creating data for analytics through active and reinforcement learning.
[7 marks]