R Stat Function Produces Flat Line From Function Stack Overflow

R Stat Function Produces Flat Line From Function Stack Overflow