Struct a weird effect in R. When coding a math expression as a function you get a different output than when coded directly? Any good explanations/solutions?
myfun <-