Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 30385be8f1
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.383 kB
argv <- commandArgs(T);
early <- argv[1];
late <- argv[2];
outfile <- argv[3];
submit <- read.csv('data/SubmissionZerosExceptNAs.csv')
early <- read.csv(early);
late <- read.csv(late);
alpha <- (submit$position_within_chunk - 193) / 71
for (target in colnames(submit)[6:44]) {
submit[,target] <- alpha * late[,target] + (1-alpha) * early[,target];
}
write.csv(submit, outfile);
Jump to Line
Something went wrong with that request. Please try again.