Skip to content

Instantly share code, notes, and snippets.

View sebastiansauer's full-sized avatar
🇺🇦
🇺🇦

Sebastian Sauer sebastiansauer

🇺🇦
🇺🇦
View GitHub Profile
# normal distribution with serveral shaded areas
library(ggplot2)
library(dplyr)
mean.1 <-0
sd.1 <- 1
zstart <- 2
zend <- 3
zcritical <- 1.65
plot_beta <- function(mean_1 = 0, mean_2 = 1,
sd_1 = 1, sd_2 = 1,
fill_alpha = "red",
fill_beta = "green",
alpha = .05, zend = 3,
title = ""){
# plots alpha error and beta error in two normal curves
# arguments:
@sebastiansauer
sebastiansauer / Rcmdr_troubleshooting.md
Last active April 3, 2016 19:10
R-Commander Troubleshooting

R-Commander Troubleshooting

PROBLEM: R-Commander startet nicht

##--- Alle Betriebssysteme ---

  1. Ist das Betriebssystem aktuell? Ggf. aktualisieren.
  2. Ist R aktuell? Ggf. aktualisieren.
@sebastiansauer
sebastiansauer / automated_reporting_latex_r_knitr.Rnw
Created November 27, 2015 12:02
Automated reporting: onepager Latex+R+knitr
\documentclass{article}
\usepackage[margin=2cm,noheadfoot]{geometry}
%\usepackage{fancyhdr}
%\pagestyle{fancyplain}
\usepackage{eso-pic}
---
name: ggplotly
layout: post
title: Make your ggplots shareable, collaborative, and with D3
date: 2014-04-17
author: Matt Sundquist
authorurl: https://plot.ly/team
tags:
- R
- API
MLE Binomial Shiny App
Base R code created by Gail Potter
Shiny app files created by Gail Potter