Skip to content

Instantly share code, notes, and snippets.

View ciniro's full-sized avatar

Ciniro Nametala ciniro

View GitHub Profile
@gluc
gluc / crossover.R
Last active September 29, 2015 03:06
Genetics Crossover
library(data.tree)
CreateCrossoverRandomTree <- function(n, treeId) {
tree <- CreateRandomTree(n)
tree$Set(treeId = treeId)
tree$Set(id = 1:tree$totalCount)
return (tree)
}
@parthasen
parthasen / garchAuto.R
Last active June 15, 2016 12:49 — forked from ivannp/garchAuto.R
garchAutoTryFit = function(
ll,
data,
trace=FALSE,
forecast.length=1,
with.forecast=TRUE,
ic="AIC",
garch.model="garch" )
{
formula = as.formula( paste( sep="",