annotate autocorr-res_acf.R @ 1:b8fa05dbcff4 draft

Uploaded
author mnhn65mo
date Fri, 03 Aug 2018 10:07:25 -0400
parents 5b126f770671
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
1 #!/usr/bin/env Rscript
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
2 library(nlme)
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
3 library(MASS)
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
4
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
5 args = commandArgs(trailingOnly=TRUE)
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
6 load(args[1])
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
7
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
8 png('output-acf.png')
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
9 graph<-acf(residuals(mod,type="normalized"))
5b126f770671 Uploaded
mnhn65mo
parents:
diff changeset
10 invisible(dev.off())