title | author | date | output |
---|---|---|---|
glimpse_labels() -- glimpse() with variable labels! |
Trey Spiller |
February 22, 2017 |
html_document |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
// RStudio: Copy lines up/down with alt+cmd+up/down | |
{ | |
"key": "alt+cmd+down", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", |
<!doctype html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>d3 webGL force graph with PIXI.js</title> | |
<meta name="description" content=""> | |
<meta name="theme-color" content="#000000"> | |
</head> | |
<body> | |
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=default"></script> |
license: gpl-3.0 |
--- | |
title: "Sample Equations used in Statistics" | |
output: html_document | |
--- | |
### Summations | |
### Without Indices | |
$\sum x_{i}$ |
(function() { | |
// Based on article @ http://www.toptal.com/d3-js/towards-reusable-d3-js-charts | |
// Publish a factory method for Chart instances | |
// @usage: | |
// var runningChart = BarChart.instanceOf( {barPadding : 2 } ); | |
// var weatherChart = BarChart.instanceOf() | |
// .fillColor('coral'); | |
window.BarChart = { |
(function defineVarsFromClassName() { | |
var needVar = $("[class]"), | |
definedVars = ""; | |
for (var i = 0; i < needVar.length; i++) { | |
var $this = $(needVar[i]); | |
var classes = $this.attr("class").split(" "); | |
for (var ii = 0; ii < classes.length; ii++) { | |
var sClassName = $.trim(classes[ii]); | |
if (sClassName.length > 0) { | |
var $us = $("." + sClassName); |
The MIT License (MIT) | |
Copyright (c) 2016 Eric Andrew Lewis | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH |
Multi Link Example for http://www.robschmuecker.com/d3-js-drag-and-drop-zoomable-tree/#comment-6190
Added an additional link between nodes at the bottom of the dndTree.js file.
This example pulls together various examples of work with trees in D3.js.
The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.
One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j