1)Differentiate between next and break with example. 2)Write a R program to access the element at 3rd column and 2nd row, only the 3rd row and only the 4th column of a given matrix. 3)What are the different structures in R. Mention ...
Home/Computer Science/Data Science/Page 8
SIKSHAPATH Latest Questions
Berlin
Asked: January 14, 2022In: Data Science
1)Write a R code for armstrong number 2)What will be the output of the following R code? x <- c(“a”, “b”, “c”, “d”) for(i in 1:4) { + ## Print out each element of ‘x’ + print(x[i]) + }
Berlin
Asked: January 14, 2022In: Data Science
Write the function used to plot the barcharts. Bargraph should have (title of graph, name of x axis, name of y axis, colour is red). Write the code and paste the screenshot of output.
Berlin
Asked: January 14, 2022In: Data Science
Creates a dataframe with three columns named: name of student, age and marks. Then display the output in df variable. Now, write the code to change the name of second column from age to AGE. Then display final result in ...