saving . . . saved write.csv(captaincy,"NewCaptaincy.csv",row.names=FALSE) has been deleted. write.csv(captaincy,"NewCaptaincy.csv",row.names=FALSE) has been hidden .
write.csv(captaincy,"NewCaptaincy.csv",row.names=FALSE)
Title
Question
 write.csv(captaincy,"NewCaptaincy.csv",row.names=FALSE)

 write.csv(captaincy,"NewCaptaincy.csv")
 what is the function of above statement. I didnot find any other screen.Please elaborate me and tell me what is the output of these two statements.

R Introduction-to-Data-Frames-in-R 12-13 min 30-40 sec 02-05-20, 10:19 a.m. Navneetsandhu

Answers:

write.csv is used to export a data frame to CSV in R. Here, we are trying to export the data frame captaincy as a CSV file named NewCaptaincy.csv. 

row.names is a logical argument, which is set to TRUE when we want to export row names as well
02-05-20, 12:32 p.m. sudhakarst


Log-in to answer to this question.