{"size":{"Width":746,"Height":207},"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":"WIDGET","widgetState":null,"outputs":{"console":"<pre class='debug-source'>&gt;library(flipMultivariates)\n</pre>\n<pre class='debug-source'>&gt;set.seed(23)\n</pre>\n<pre class='debug-source'>&gt;y &lt;- rep(1:3, rep(100,3))\n</pre>\n<pre class='debug-source'>&gt;x0 &lt;- y + rnorm(300, 0, .5)\n</pre>\n<pre class='debug-source'>&gt;x1 &lt;- x0\n</pre>\n<pre class='debug-source'>&gt;x1[y == 2] &lt;- x1[y == 2] - 1\n</pre>\n<pre class='debug-source'>&gt;x2 &lt;- y + rnorm(300,0, 1)\n</pre>\n<pre class='debug-source'>&gt;x3 &lt;- y + rnorm(300,0, 6)\n</pre>\n<pre class='debug-source'>&gt;y &lt;- factor(y, levels = 1:3, labels = c(&quot;Group A&quot;, &quot;Group B&quot;, &quot;Group C&quot;))\n</pre>\n<pre class='debug-source'>&gt;RandomForest(y ~ x1 + x2 + x3, output = &quot;Importance&quot;)\n</pre>\r\n<div class=\"debug-summarystatistics\">\r\n<table>\r\n<tr><th>Total time:</th><td>8.85s</td></tr>\r\n<tr><th>Time on R server:</th><td title=\"rApacheServe 8.51s (pre 0.00s, post 0.00s) httpget_code() setup for eval 0.00s session$eval 4.07s (pre 0.00s, post 0.75s) unexplained 4.44s apparmor forking (pre 0.00s, post 0.00s)\">8.51s</td></tr>\r\n<tr><th>Time evaluating code:</th><td>3.27s</td></tr>\r\n<tr><th>Bytes sent:</th><td>879</td></tr>\r\n<tr><th>Bytes received:</th><td>5,805,829</td></tr>\r\n</table>\r\n</div>","htmlwidgets":"<div id=\"htmlwidget_container\">\n <div id=\"htmlwidget-d4dca9b1872423acd359\" class=\"formattable_widget html-widget\" style=\"width:100%;height:500px;\" width=\"100%\" height=\"500\"></div>\n</div>\n<script type=\"application/json\" data-for=\"htmlwidget-d4dca9b1872423acd359\">{\"x\":{\"html\":\"<table class = \\\"table table-condensed\\\"style = \\\"margin:0; border-bottom: 2px solid; border-top: 2px solid; font-size:90%;\\\">\\n<caption><h3 class=\\\".h3\\\" style=\\\"color:#3E7DCC; text-align:left; margin-top:0px; margin-bottom:0\\\">Random Forest: y<\\/h3>\\n<h5 class=\\\".h5\\\" style=\\\"color:#888888; text-align:left; margin-top:5px; margin-bottom:0\\\">Correct predictions (based on out-of-bag sample): 76.33% (Group A: 67%; Group B: 64%; Group C: 98%)<\\/h5>\\n<caption style=\\\"caption-side:bottom;font-style:italic; font-size:90%;\\\">n = 300 cases used in estimation;<\\/caption><\\/caption>\\n <thead>\\n <tr>\\n <th style=\\\"text-align:left;\\\"> <\\/th>\\n <th style=\\\"text-align:right;\\\"> Group A <\\/th>\\n <th style=\\\"text-align:right;\\\"> Group B <\\/th>\\n <th style=\\\"text-align:right;\\\"> Group C <\\/th>\\n <th style=\\\"text-align:right;\\\"> MeanDecreaseAccuracy <\\/th>\\n <th style=\\\"text-align:right;\\\"> Importance (MeanDecreaseGini) <\\/th>\\n <\\/tr>\\n <\\/thead>\\n<tbody>\\n <tr>\\n <td style=\\\"text-align:left;\\\"> x1 <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">0.168<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">0.185<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">0.579<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: inline-block; direction: rtl; border-radius: 4px; padding-right: 0px; background-color: #DDDDDD; width: 100.00%\\\">&lrm;0.308<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: inline-block; direction: rtl; border-radius: 4px; padding-right: 0px; background-color: #DDDDDD; width: 100.00%\\\">&lrm;105.18<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"text-align:left;\\\"> x2 <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">0.145<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #f1f7fd\\\">0.002<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">0.065<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: inline-block; direction: rtl; border-radius: 4px; padding-right: 0px; background-color: #DDDDDD; width: 22.85%\\\">&lrm;0.070<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: inline-block; direction: rtl; border-radius: 4px; padding-right: 0px; background-color: #DDDDDD; width: 53.74%\\\">&lrm;56.52<\\/span> <\\/td>\\n <\\/tr>\\n <tr>\\n <td style=\\\"text-align:left;\\\"> x3 <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">0.031<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; font-weight: bold; background-color: #80b4f4\\\">0.034<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: block; padding: 0 4px; border-radius: 4px; background-color: #e6f0fc\\\">0.002<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: inline-block; direction: rtl; border-radius: 4px; padding-right: 0px; background-color: #DDDDDD; width: 7.30%\\\">&lrm;0.023<\\/span> <\\/td>\\n <td style=\\\"text-align:right;\\\"> <span style=\\\"display: inline-block; direction: rtl; border-radius: 4px; padding-right: 0px; background-color: #DDDDDD; width: 35.77%\\\">&lrm;37.62<\\/span> <\\/td>\\n <\\/tr>\\n<\\/tbody>\\n<\\/table>\"},\"evals\":[],\"jsHooks\":[]}</script>\n<script type=\"application/htmlwidget-sizing\" data-for=\"htmlwidget-d4dca9b1872423acd359\">{\"viewer\":{\"width\":\"100%\",\"height\":350,\"padding\":15,\"fill\":false},\"browser\":{\"width\":\"100%\",\"height\":500,\"padding\":0,\"fill\":false}}</script>","htmlwidget-head":"{\"stylesheets\":[\"https://rserverhtmlwidgetasset.azureedge.net/bootstrap.min-eb19ad78829540621a18956d949c048b.css\"],\"javascript\":[\"https://rserverhtmlwidgetasset.azureedge.net/jquery.min-91a24ea414e8c447d647cecab86866c2.js\",\"https://rserverhtmlwidgetasset.azureedge.net/bootstrap.min-326d184c3c13feede563e4adcb5ff2a0.js\",\"https://rserverhtmlwidgetasset.azureedge.net/html5shiv.min-e70767555a95c48c08833356d362ccef.js\",\"https://rserverhtmlwidgetasset.azureedge.net/respond.min-4255ee1a060b15cb2432d0a497a6d510.js\",\"https://rserverhtmlwidgetasset.azureedge.net/htmlwidgets-cd5c5716917807e1b69e2493221698b2.js\",\"https://rserverhtmlwidgetasset.azureedge.net/formattable_widget-d2927ec9dec4a568bd3f4a62041c0ddb.js\"],\"attachments\":[],\"widget-cannot-re-render\":true}","message":"","warning":""},"secondsTaken":8.848059300000001,"updated":"2018-02-27T04:40:36.5906069Z","lastUpdatedMessage":null,"executedCode":"library(flipMultivariates)\nset.seed(23)\ny <- rep(1:3, rep(100,3))\nx0 <- y + rnorm(300, 0, .5)\nx1 <- x0\nx1[y == 2] <- x1[y == 2] - 1\nx2 <- y + rnorm(300,0, 1)\nx3 <- y + rnorm(300,0, 6)\ny <- factor(y, levels = 1:3, labels = c(\"Group A\", \"Group B\", \"Group C\"))\nRandomForest(y ~ x1 + x2 + x3, output = \"Importance\")\n","lastSavedCode":"library(flipMultivariates)\nset.seed(23)\ny <- rep(1:3, rep(100,3))\nx0 <- y + rnorm(300, 0, .5)\nx1 <- x0\nx1[y == 2] <- x1[y == 2] - 1\nx2 <- y + rnorm(300,0, 1)\nx3 <- y + rnorm(300,0, 6)\ny <- factor(y, levels = 1:3, labels = c(\"Group A\", \"Group B\", \"Group C\"))\nRandomForest(y ~ x1 + x2 + x3, output = \"Importance\")\n","highlightedCodeSpans":[],"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,"EmptyListMessage":null,"Multi":false,"Prompt":null,"ErrorMessage":null,"Invalid":null,"Required":false,"AllowedTypes":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}}