Skip to content

Instantly share code, notes, and snippets.

@addame
addame / global.R
Created March 6, 2013 15:39 — forked from jcheng5/global.R
###############################################
##
## Attempt no 2 at building a shiny web app
## for AB Testing use - using global.R
##
## global.R - loading and defining variables for the global environment
##
###############################################
# Pallette used in some charts as a general indicator color for better or worse that the control group
@addame
addame / grts2.R
Created January 31, 2014 15:24 — forked from jer-shiny/grts2.R
grts2<-function (design, DesignID = "Site", SiteBegin = 1, type.frame = "finite",
src.frame = "shapefile", in.shape = NULL, sp.object = NULL,
att.frame = NULL, id = NULL, xcoord = NULL, ycoord = NULL,
stratum = NULL, mdcaty = NULL, startlev = NULL, maxlev = 11,
maxtry = 1000, shift.grid = TRUE, do.sample = rep(TRUE, length(design)),
shapefile = TRUE, prjfilename = NULL, out.shape = "sample")
{
if (is.null(design))
stop("\nA design list must be provided.")
strata.names <- names(design)
@addame
addame / devise.fr.yml
Created July 10, 2018 17:23 — forked from qsypoq/devise.fr.yml
French translation of devise.en.yml (version: 3.5.3).
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
fr:
devise:
confirmations:
confirmed: "Votre compte a été validé."
send_instructions: "Vous allez recevoir les instructions nécessaires à la confirmation de votre compte dans quelques minutes."
send_paranoid_instructions: "Si votre e-mail existe dans notre base de données, vous allez bientôt recevoir un e-mail contenant les instructions de confirmation de votre compte."
failure:
already_authenticated: "Vous êtes déjà connecté"