A way to plot all the metadata associated with a dataset.
{ "graphOrientation":"vertical", "graphType":"Bar", "groupingFactors":[ "Pclass" ], "histogramBins":"false", "stackBy":"Survived", "summaryType":"count", "theme":"lastAirBenderFire" }
var cX = CanvasXpress.$("canvasId"); cX.createHistogram(); cX.createDOE();
library(canvasXpress) y=read.table("https://www.canvasxpress.org/data/cX-titanic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE) x=read.table("https://www.canvasxpress.org/data/cX-titanic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE) canvasXpress( data=y, smpAnnot=x, graphOrientation="vertical", graphType="Bar", groupingFactors=list("Pclass"), histogramBins=FALSE, stackBy="Survived", summaryType="count", theme="lastAirBenderFire", afterRender=list(list("createHistogram"), list("createDOE")) )
Create New Page