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(devtools) | |
install_version <- function (package, version = NULL, repos = getOption("repos"), | |
type = getOption("pkgType"), ...) | |
{ | |
contriburl <- contrib.url(repos, type) | |
available <- available.packages(contriburl) | |
## converting the version to numeric breaks packages that use dashes in their version numbers | |
# if (!is.null(version)) { |
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
require('minpack.lm'); | |
###### START FUNCTION DEFINITIONS ########### | |
##Coded by M. Furia June 2007 | |
lma.dologfit = function(x,y){ | |
compute.logistic.x = function(y,min,max,infl,slope){ | |
return(infl - (1/slope)*log10((max - min)/(y - min)- 1)); | |
} | |
# define the logistic function |