Skip to content

Instantly share code, notes, and snippets.

View spsaaibi's full-sized avatar
and 📈

Sebastian Perez Saaibi spsaaibi

and 📈
View GitHub Profile
@spsaaibi
spsaaibi / server.R
Created December 4, 2012 13:04
Simple 2d_density_plot
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) {
@spsaaibi
spsaaibi / index.html
Last active December 12, 2015 12:39
Just for fun
<!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)">
@spsaaibi
spsaaibi / _.md
Created April 15, 2013 20:44
Tributary inlet
@spsaaibi
spsaaibi / _.md
Created April 18, 2013 13:51
Tributary inlet
@spsaaibi
spsaaibi / _.md
Created April 18, 2013 14:55
Tributary inlet
@spsaaibi
spsaaibi / _.md
Created April 18, 2013 15:14
hello inlet
@spsaaibi
spsaaibi / _.md
Created April 18, 2013 15:26
domains
@spsaaibi
spsaaibi / _.md
Created April 18, 2013 15:42
simpleaxis
@spsaaibi
spsaaibi / _.md
Created April 18, 2013 19:26
domains
@spsaaibi
spsaaibi / _.md
Created April 18, 2013 19:56
domains