comparison autocorr-res-acf.R @ 0:d0ee713d4758 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:05:06 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d0ee713d4758
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)