search for: fhour

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

Did you mean: hour
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]]