{"size":{"Width":357,"Height":135},"appearance":{"background":null,"padding":14,"font":{"family":"Courier New","size":10.0,"bold":false,"italic":false,"underline":false,"strikeout":false,"color":"rgb(0,72,168)"},"border":{"on":true,"size":0.0,"style":"solid","color":"#666"},"text":{"wrap":false,"hAlign":"left","vAlign":"top"}},"outputType":"TABLE","widgetState":null,"outputs":{"text":" Group.1 Salary Age\n1 Cook 1500 24.50\n2 Manager 2100 36.50\n3 Server 1500 25.75\n","console":"<pre class='debug-source'>>data <- table\n</pre>\n<pre class='debug-source'>>\n</pre>\n<pre class='debug-source'>>agg <- aggregate(data,\n by = list(data$Role),\n FUN = mean)\n</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-warning'>argument is not numeric or logical: returning NA</pre>\n<pre class='debug-source'>>\n</pre>\n<pre class='debug-source'>>agg$Name <- agg$Role <- agg$Shift <- NULL\n</pre>\n<pre class='debug-source'>>agg\n</pre>\n<pre class='debug-out'> Group.1 Salary Age\n1 Cook 1500 24.50\n2 Manager 2100 36.50\n3 Server 1500 25.75\n</pre>\r\n<div class=\"debug-summarystatistics\">\r\n<table>\r\n<tr><th>Total time:</th><td>2.55s</td></tr>\r\n<tr><th>Time on R server:</th><td title=\"rApacheServe 2.49s (pre 0.00s, post 0.00s) httpget_code() setup for eval 0.00s session$eval 2.46s (pre 0.00s, post 0.02s) unexplained 0.03s apparmor forking (pre 0.00s, post 0.00s)\">2.49s</td></tr>\r\n<tr><th>Time evaluating code:</th><td>2.34s</td></tr>\r\n<tr><th>Bytes sent:</th><td>1,640</td></tr>\r\n<tr><th>Bytes received:</th><td>3,838</td></tr>\r\n</table>\r\n</div>","warning":"argument is not numeric or logical: returning NA","message":"","table":"{\"Dimensions\":[{\"IsStatistic\":true,\"Elements\":[{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement0\",\"Name\":\"Group.1\",\"WrappedName\":[\"Group.1\"],\"IsText\":true},{\"IsNumber\":true,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement1\",\"Name\":\"Salary\",\"WrappedName\":[\"Salary\"],\"IsText\":false},{\"IsNumber\":true,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement2\",\"Name\":\"Age\",\"WrappedName\":[\"Age\"],\"IsText\":false}],\"Id\":\"StatisticsDimensionID\",\"Name\":null,\"WrappedName\":null,\"Tiers\":[],\"Count\":3},{\"IsStatistic\":false,\"Elements\":[{\"Id\":\"RowDimensionElement0\",\"Name\":\"1\",\"WrappedName\":[\"1\"]},{\"Id\":\"RowDimensionElement1\",\"Name\":\"2\",\"WrappedName\":[\"2\"]},{\"Id\":\"RowDimensionElement2\",\"Name\":\"3\",\"WrappedName\":[\"3\"]}],\"Id\":\"RowCategoricalDimension\",\"Name\":null,\"WrappedName\":null,\"Tiers\":[],\"Count\":3}],\"DataPoints\":[[{\"Value\":\"Cook\",\"WrappedText\":[\"Cook\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"Manager\",\"WrappedText\":[\"Manager\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"Server\",\"WrappedText\":[\"Server\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":1500.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":2100.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":1500.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":24.5,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":36.5,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":25.75,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}]],\"Settings\":{\"CellDimensionId\":null,\"RowDimensionsIds\":[\"RowCategoricalDimension\"],\"ColumnDimensionsIds\":[\"StatisticsDimensionID\"],\"ColumnHeadersHidden\":false,\"Title\":null,\"Footnote\":null,\"IsRowHeadersSortable\":false,\"IsColumnHeadersSortable\":true,\"HeaderSorts\":[],\"IsRowHeadersFilterable\":false,\"IsColumnHeadersFilterable\":true,\"HeaderFilters\":[],\"PaginationParameters\":null,\"TableStyleCssClass\":\"style-97ba0187-37c0-47a1-a4ad-31b0f5281e77-1-_-_\",\"LiveTableFormat\":{},\"AvailableWidth\":357,\"AvailableHeight\":135,\"TableWidth\":null}}"},"secondsTaken":2.5534556999999998,"updated":"2018-06-18T07:05:50.6813844Z","lastUpdatedMessage":null,"executedCode":"data <- table\n\nagg <- aggregate(data,\n by = list(data$Role),\n FUN = mean)\n\nagg$Name <- agg$Role <- agg$Shift <- NULL\nagg\n\n\n\n","lastSavedCode":"data <- table\n\nagg <- aggregate(data,\n by = list(data$Role),\n FUN = mean)\n\nagg$Name <- agg$Role <- agg$Shift <- NULL\nagg\n\n\n\n","highlightedCodeSpans":[{"start":8,"length":5,"index":2}],"tableTransformations":"<TabularTransformer>\r\n <TabularTransform type=\"Truncation\" truncationHeaderType=\"Column\" />\r\n <TabularTransform />\r\n</TabularTransformer>","tabularFilteringOptions":null,"hasGuiControls":false,"guiControls":{"Code":"","JSError":null,"JSErrorDetails":null,"ControlDefinitionErrors":null,"InputValidationErrors":null,"Controls":[{"ItemGuid":"00000000-0000-0000-0000-000000000000","ControlName":null,"Page":null,"Group":null,"Type":null,"Label":null,"LabelEmphasised":false,"Value":null,"Allowed":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":null,"OwnerRItemGuid":null,"MinInputs":0,"MaxInputs":0,"Height":0,"Duplicates":false,"Values":null,"CheckAlign":null,"Text":null,"Increment":0.0,"Min":0.0,"Max":0.0,"Vertical":true}]},"calculating":"Idle","showDebug":false,"layout":"OutputOnly","vSplit":0.25,"hSplit":0.45,"updateWarnings":true,"updateMode":"Automatic","warnSlow":true,"Options":{"debugconsole":false,"codeposition":"OutputOnly","splitH":0.45,"splitV":0.25,"update warnings":true,"updating":"Automatic","warn slow":true}}