setGeneric("autostat", function(query, geom, ...)
standardGeneric("autostat"))
setMethod("autostat", c("ANY", "ANY"),
function(query, geom) autostat_for_geom(geom))
setMethod("autostat", c("QueryAggregate", "GeomBar"),
function(query, geom) "identity")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.