Here's my code below. ar2 <- function(n , c ,phi1, phi2, sigma){ if( (phi2 > -1) & (phi2 < 1) & (phi1 + phi2 < 1) & (phi2 - phi1 &
I am trying to write a function that finds the first .waste dir in one of the parent dirs (e.g. .. ../.. ../../..). For this I need to see if the dir exists. F