Hello,
I am a novice in R programming. I am having a challenge on resolving the error:
<simpleError in is(obj, "ore.frame"): could not find function "is">
Here's the code used:
diffSquares <- function(a1 = c(), a2 = c()) {
if (length(a1) == 0 || length(a2) == 0) {
stop("Both arguments must have a length of at least one.")
}
sumSquares <- sum(a1^2)
squareSum <- (sum(a2))^2
return(abs(sumSquares - squareSum))
}
Does it have something to do with Oracle?
Your help is greatly appreciated.
Thanks!