function(samp) var(sum(((samp - mean(samp))^2)/(n - 1)))
This is my function but it does not seem to work. Are we allowed to use the var in the function