Mercurial > repos > ecology > regionalgam_autocor_acf
comparison autocorr-res-acf.R @ 0:b416a363a2d5 draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/regionalgam commit ffe42225fff8992501b743ebe2c78e50fddc4a4e
author | ecology |
---|---|
date | Thu, 20 Jun 2019 04:03:31 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b416a363a2d5 |
---|---|
1 #!/usr/bin/env Rscript | |
2 args = commandArgs(trailingOnly=TRUE) | |
3 load(args[1]) | |
4 | |
5 png('output-acf.png',width = 480, height = 480, units = "px") | |
6 graph<-acf(residuals(mod,type="normalized"),plot=FALSE) | |
7 plot(graph, main="Acf residuals") | |
8 invisible(dev.off()) | |
9 sink("output-acf.txt") | |
10 print(graph) |