Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

NAME: SHUANAK NAGVENKAR

REG NO: 21BCE0296


COURSE: PROGRAMMING FOR
DATA SCIENCE

DA 1
AIM:

Create a table for surveying a covid symptoms of the people for specific village.
(Minimum 25 rows and 10 columns)
2. Develop the R script using base function and user defined functions to perform following operations in
the created table,

Base functions: Nchar, Sum, Round, Paste, Min

User defined: Classify the person as children, young and old


3. Vector operations (string and numeric) for the columns of table crated
4. Vector filtering (from the table created) including recycling case.
5. Control statement for counting and checking purpose from any column: For loop, While loop and If-
else
6. Modify:

Add the decision column to positive or negative based on setting a condition.

Change the fever value above 97F to High.

Find the children names who are Positive

Print the old person names who is negative.


7. Introduce any 2 new packages and their popular functions (any 5)

Stringr

Dplyr

You might also like