#load the needed packages library("machina") library("plyr")