R/agent_returnSimTime.R

Defines functions agent_returnSimTime

Documented in agent_returnSimTime

agent_returnSimTime <-
function(xmlResultData)
{
	# xmlResultData[[1]] gives all the simulation tag information
	# Get the attributes of this tag, and return the time (the second attribute)
	return(as.numeric(xmlAttrs(xmlResultData[[1]])[[2]]))
}

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.