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
## Set the random seed so your data will be the same as mine. | |
set.seed(1234) | |
dat <- list("Cool dataset one" = rnorm(100, 0), | |
"Cool dataset two" = rnorm(100, 4), | |
"Another long name" = rnorm(100, 5), | |
"Really really long" = rnorm(100, 4)) | |
boxplot(dat) |
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
par(mar = c(6.1, 4.1, 4.1, 4.1), # change the margins | |
lwd = 2, # increase the line thickness | |
cex.axis = 1.2 # increase default axis label size | |
) |
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
#!/bin/bash | |
## MIT License | |
## Copyright (c) 2019 Ryan Moore | |
## 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 |
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
## MIT License | |
## Copyright (c) 2019 Ryan Moore | |
## 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: |
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
library(optparse) | |
library(tidyverse) | |
library(magrittr) | |
library(qvalue) | |
loaded_packages <- (.packages()) | |
write.table(installed.packages()[loaded_packages, c("Package", "Version")], | |
sep = ",", | |
row.names = FALSE) |
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
#!/usr/bin/env ruby | |
Signal.trap("PIPE", "EXIT") | |
require "abort_if" | |
require "fileutils" | |
require "optimist" | |
include AbortIf |
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
(ns cljs_reagent_proj.core | |
(:require | |
[reagent.core :as r] | |
[cljsjs.react-vis :as rvis])) | |
(def chart-data [{:x 1 :y 1} | |
{:x 2 :y 2} | |
{:x 3 :y 4} | |
{:x 4 :y 5} | |
{:x 5 :y 4} |
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
(ns cljs_reagent_proj.core | |
(:require | |
[reagent.core :as r] | |
[cljsjs.react-vis :as rvis])) | |
(def chart-data [{:x 1 :y 1} | |
{:x 2 :y 2} | |
{:x 3 :y 4} | |
{:x 4 :y 5} | |
{:x 5 :y 4} |
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
(ns cljs_reagent_proj.core | |
(:require | |
[reagent.core :as r] | |
[cljsjs.react-vis :as rvis])) | |
(def chart-data [{:x 1 :y 1} | |
{:x 2 :y 2} | |
{:x 3 :y 4} | |
{:x 4 :y 5} | |
{:x 5 :y 4} |
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
(ns cljs_reagent_proj.core | |
(:require | |
[reagent.core :as r] | |
[cljsjs.react-vis :as rvis])) | |
(def chart-data [{:x 1 :y 1} | |
{:x 2 :y 2} | |
{:x 3 :y 4} | |
{:x 4 :y 5} | |
{:x 5 :y 4} |
OlderNewer