Displaying 2 results from an estimated 2 matches for "totalpath".
2012 Dec 31
4
error when using subset (0 observations)
...570)
INFO is 0 observations of 14 variables
When the site.no is used I should have 1 observation of 14 variables
instead of 0. Can you assist me?
Thank-you.
Irucka Embry
This is the function that is called:
getMetaDataFromFile <- function(file, hasHeader = TRUE, separator = ",")
{
totalPath <- paste(file, sep = "")
tmp <- read.csv(totalPath, header = hasHeader, sep = separator, fill =
TRUE, comment.char = "#", as.is = TRUE, stringsAsFactors = FALSE,
na.strings = "NA")
retval <- as.data.frame(tmp, stringsAsFactors = FALSE)
return(retval)
}
This...
2013 Jan 15
2
error in for loop in function (object not found)
Hi all, I have attached the function file (revisedfunction) and the list
of station IDs (StationIDs) in .pdf format.
I have written a function to perform various operations on the station
IDs in two groups. The first 6 station IDs require one less step than
the remaining 68 station IDs. The file referenced at the beginning of
the function is the file containing the StationIDs.
> file =