view autocorr-res_acf.R @ 2:0e7066603eab draft default tip

Uploaded
author mnhn65mo
date Mon, 06 Aug 2018 04:45:49 -0400
parents 5b126f770671
children
line wrap: on
line source

#!/usr/bin/env Rscript
library(nlme)
library(MASS)

args = commandArgs(trailingOnly=TRUE)
load(args[1])

png('output-acf.png')
graph<-acf(residuals(mod,type="normalized"))
invisible(dev.off())