R/env_soluteProductionRateOverTime.R

Defines functions env_soluteProductionRateOverTime

Documented in env_soluteProductionRateOverTime

env_soluteProductionRateOverTime <-
function(resultFileFolder,resultFileType,numTimepoints,outputPeriod,soluteReqd)
{
	allMeasureResults<-NULL
	
	for(tp in seq(from=0,to=numTimepoints,by=outputPeriod))
	{
		# Read in the result
		xmlResultData<-readSimResultFile(resultFileFolder,resultFileType,tp)

		globalProdRates<-env_returnGlobalProductionRates(xmlResultData)
	
		# Append to the list of growth rates
		allMeasureResults<-rbind(allMeasureResults,xmlValue(globalProdRates[[soluteReqd]]))
		
	}
	return(allMeasureResults)
}

Try the iDynoR package in your browser

Any scripts or data that you put into this service are public.

iDynoR documentation built on May 2, 2019, 5:56 a.m.