This assumes that all of the summary, combine and query functions are defined and available in the R environment where it will run. See UserDefinedReduce to define and use your own functions.
summary
name of a function that each worker will call on their chunk of the data. This produces an intermediate result.
combine
name of a function to combine many intermediate results into a single intermediate results
query
name of a function to produce the actual final result from an intermediate result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.