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")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.