"header" function in R
Hello everyone, How to add the "header" function to a dataset in R? for example, this command enters in the R, but I encounter the following error in the software.
res<- read.ftable("C:/R Database/Volcano/results.txt", header= TRUE)
Error in read.ftable("C:/R Database/Volcano/results.txt", header = TRUE) : unused argument (header = TRUE)
• 8,280 views
•
link
1 answer
header= is not a function, it is an argument to a function. This argument is not used for read.ftable(), hence the error.
See ?read.ftable
• 1 views
•
link
Log in to answer this question.
instead use
change
separgument if separator is not tab, but some thing else.