[ Launch: Tributary inlet ] 5391146 by spsaaibi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require(shiny) | |
require(ggplot2) | |
nObs <- 500 | |
nCluster <- 7 | |
dataset <- data.frame(X = rnorm(nObs) + 2 * rnorm(nObs/2) , Y = rnorm(nObs)) - 2 * rnorm(nObs/2) | |
kMeans <- kmeans(dataset, centers = nCluster) | |
dataset$Cluster <- as.factor(kMeans$cluster) | |
shinyServer(function(input, output) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
<script src="http://cmx.io/v/0.1/cmx.js"></script> | |
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
<body> | |
<div style="max-width:900px; -webkit-transform:rotate(0deg);"> | |
<scene id="scene1"> | |
<label t="translate(0,346)"> |
[ Launch: Tributary inlet ] 5412847 by spsaaibi
[ Launch: Tributary inlet ] 5413378 by spsaaibi
[ Launch: Tributary inlet ] 5413526 by spsaaibi
[ Launch: Tributary inlet ] 5413638 by spsaaibi
[ Launch: Tributary inlet ] 5413756 by spsaaibi
[ Launch: domains ] 5415544 by spsaaibi[ Launch: Tributary inlet ] 5413638 by spsaaibi
[ Launch: domains ] 5415749 by spsaaibi[ Launch: domains ] 5415544 by spsaaibi[ Launch: Tributary inlet ] 5413638 by spsaaibi
OlderNewer