R/agent_returnJVoxels.R

Defines functions agent_returnJVoxels

Documented in agent_returnJVoxels

agent_returnJVoxels <-
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 nJ (the third attribute)
	return(as.numeric(xmlAttrs(xmlResultData[[1]][[1]])[[3]]))
}

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.