search for: fhours

Displaying 1 result from an estimated 1 matches for "fhours".

Did you mean: hours
2013 Jan 19
3
an apply question
Hello, It should be easu but I cannot figure out how to use apply function. I am trying to replace negative values in an array with these values + 24. Would appreciate help. Thanks, Mark shours <- apply(fhours, function(x){if (x < 0) x <- x+24}) Error in match.fun(FUN) : argument "FUN" is missing, with no default [[alternative HTML version deleted]]