All i can do with sqldf package is calculate " avg" "count " and "sum". Can i define my own function for standard deviation?
It is really necessary for me to calculate Standard deviation using sqldf only.
All i can do with sqldf package is calculate " avg" "count " and "sum". Can i define my own function for standard deviation?
It is really necessary for me to calculate Standard deviation using sqldf only.
The function for standard deviation is stdev
d1 = data.frame(x=runif(10))
sqldf("select stdev(x) from d1")