Home Ask Login Register

Developers Planet

Your answer is one click away!

Rakesh Jasti February 2016

How to find standard deviation in R using sqldf package?

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.


Pekka February 2016

The function for standard deviation is stdev

d1 = data.frame(x=runif(10))
sqldf("select stdev(x) from d1")

Post Status

Asked in February 2016
Viewed 3,707 times
Voted 6
Answered 1 times


Leave an answer

Quote of the day: live life