EpivizChart <- setRefClass("EpivizChart",
fields=list(
measurements="character",
id="character",
mgr="EpivizDeviceMgr",
inDevice="logical",
type="character"),
methods=list(
initialize=function(inDevice=FALSE, ...) {
inDevice <<- inDevice
callSuper(...)
},
setId=function(id) {id <<- id},
getId=function() {return(id)},
setInDevice=function(x) {inDevice <<- x},
show=function() {
cat("EpivizChart object: ", getId(), "\n")
cat("type: ", type, "\n")
cat("measurements: ", paste0(measurements, collapse=","), "\n")
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.