powered by
These extension functions are written by Liam Healy and made available through the SQLite website (http://www.sqlite.org/contrib).
initExtension(db)
A database to load these extensions.
acos, acosh, asin, asinh, atan, atan2, atanh, atn2, ceil, cos, cosh, cot, coth, degrees, difference, exp, floor, log, log10, pi, power, radians, sign, sin, sinh, sqrt, square, tan, tanh
charindex, leftstr, ltrim, padc, padl, padr, proper, replace, replicate, reverse, rightstr, rtrim, strfilter, trim
stdev, variance, mode, median, lower_quartile, upper_quartile
# NOT RUN { db <- dbConnect(SQLite()) initExtension(db) dbWriteTable(db, "mtcars", mtcars) dbGetQuery(db, "SELECT stdev(mpg) FROM mtcars") sd(mtcars$mpg) # }
Run the code above in your browser using DataLab