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.
- Increment each value in column Floor by 1 using For loop.
- Increment each value of column Area by 1 which are greater than 800, otherwise reduce their value by 1.
- Write the changed data frame back to csv file.
Upload the R script as solution.

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
Get step-by-step solutions from verified subject matter experts
