Learn R Programming

googleVis (version 0.7.1)

createGoogleGadget: Create a Google Gadget

Description

Create a Google Gadget based on a Google Visualisation Object

Usage

createGoogleGadget(gvis)

Value

createGoogleGadget returns a Google Gadget XML string.

Arguments

gvis

an object of class 'gvis', e.g. output of a googleVis visualisation functions.

Author

Markus Gesmann

References

For more information about Google Gadgets see: https://developers.google.com/gadgets/

See Also

See also as print.gvis, cat

Examples

Run this code
M <- gvisMotionChart(Fruits, idvar="Fruit", timevar="Year")
gdgt <- createGoogleGadget(M)
cat(gdgt)

Run the code above in your browser using DataLab