generic function which assigns values for Rtype or stoichiom to an array of the same name array has form [group,resource,path] reads in data from MFG dataframes