Question: Read data file Data_with_column_names.csv using read.csv() or read.table() function. Increment each value in column Floor by 1 using For loop. Increment each value of column

Read data file Data_with_column_names.csv using read.csv() or read.table() function.

  1. Increment each value in column Floor by 1 using For loop.
  2. Increment each value of column Area by 1 which are greater than 800, otherwise reduce their value by 1.
  3. Write the changed data frame back to csv file.

Upload the R script as solution.

Read data file Data_with_column_names.csv using read.csv() or read.table() function. Increment each value

Rooms Age 10 Price 60 71 91 Cent. heat Yes Yes 5 Yes 68 Floor 1245 1267 1116 1175 1154 1218 1276 1254 1236 1207 Area 979 858 8992 922 986 6 950 772 944 858 9658 5 Yes 6 onnon Fono 10 56 Yes Yes Yes Yes Yes 77 57

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!