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
####################################################### | |
# Calculating the number of unobservable site patterns | |
# for the Mk-parsimony-informative ascertainment bias | |
# correction | |
# | |
# by Nick Matzke, 2015-2016 | |
# | |
# Free to re-use; we are preparing an ms on this issue, | |
# please email nick.matzke@anu.edu.au if interested. | |
# |
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
# ============================================= | |
# genericR_v1.R: many useful utility functions | |
# for R | |
# | |
# by Nick Matzke | |
# Copyright 2011-infinity | |
# matzkeATberkeley.edu | |
# January 2011 | |
# | |
# Please link/cite if you use this, email me if you have |
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
# Source ALL of the R files in a particular R/ directory | |
# (so we don't have to have a fully-functioning package) | |
# Author: Nick Matzke, nmatzke | |
# License: GPL-3 | |
sourceall_git <- function(repo) | |
{ | |
library(httr) # for GET | |
library(devtools) # for source_url |
NewerOlder