Displaying 1 result from an estimated 1 matches for "samplenr".
Did you mean:
sampleno
2004 Mar 19
2
Beginners question
...e.
Running my analysis by hand on command line is fine and works but because
of the repetitive nature of the job I would like to code a function for it.
My problem:
I would like to read in data from a file in my current working dir.
so my code would look like:
myanalysis <- function(sample, samplenr){
sample.samplenr <- read.geodata("sample.samplenr", arg, arg etc.)
sample.samplenr.results <- someanalysis(sample.samplenr)
}
problem is that charater values aren't interpretated as they should. Any
tips and tricks? This should be fairly simple but I just can't find any...