made a small edit to RAM_code.R - now the entire analysis table can be generated by RAM_code.R