R/agent_returnIVoxels.R

Defines functions agent_returnIVoxels

Documented in agent_returnIVoxels

agent_returnIVoxels <-
function(xmlResultData)
{
	# xmlResultData[[1]] gives all the simulation tag information
	# The grid information is at the [[1]] element of this
	# Get the attributes of this tag, and return nI (the second attribute)
	return(as.numeric(xmlAttrs(xmlResultData[[1]][[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.