0% found this document useful (0 votes)
23 views

Department of It::Vrsec: 17IT3401: Statistics With R A.Y. 2019-20 Assignment-I

This document contains an assignment for a statistics course using R. It has 6 questions that assess different cognitive levels including remembering, understanding, and applying concepts. Question 1 asks about R functions like nchar(), length(), and factor vectors. Question 2 covers the difference between NA and NULL and matrices in R. Question 3 asks students to create a data frame of employee data and find designations. Question 4 involves creating a function to calculate averages from age data. Question 5 analyzes gender data in two vectors.

Uploaded by

Manohar Datt
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Department of It::Vrsec: 17IT3401: Statistics With R A.Y. 2019-20 Assignment-I

This document contains an assignment for a statistics course using R. It has 6 questions that assess different cognitive levels including remembering, understanding, and applying concepts. Question 1 asks about R functions like nchar(), length(), and factor vectors. Question 2 covers the difference between NA and NULL and matrices in R. Question 3 asks students to create a data frame of employee data and find designations. Question 4 involves creating a function to calculate averages from age data. Question 5 analyzes gender data in two vectors.

Uploaded by

Manohar Datt
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

DEPARTMENT OF IT::VRSEC

17IT3401: Statistics with R

A.Y. 2019-20
Assignment-I
s.n question BTL M
o
1 a.Write a short note on remember 3
i.nchar()
ii.length()
iii.Factor Vectors
b. Illustrate the difference between NA and NULL with the Understanding 1
help of an example?
c. Write a short note on matrices in R. Understanding 1
2 a. Illustrate with an example how data frames work in R. Understanding 2
b. Write a short note on Base Graphs. Understanding 2
c. Define variable. Write the syntax for creating and Understanding 1
removing a variable..
3 Create a data frame that stores the name, age, designation of Applying 5
the employee. Find how many employees are working in
each designation?
4 Create a function to calculate the average, median and mean Applying 5
for a numeric vector age in employee database
5 Create two vectors that stores the details of name and Applying 5
gender of the employees. Find how many ‘male’ and
‘female’ employees are present?
6 Illustrate various data types available in R Language remember 5

You might also like