newAgent <- agentMatrix(
coords = cbind(pxcor = c(1, 2, 5), pycor = c(3, 4, 6)),
char = letters[c(1, 2, 6)],
nums2 = c(4.5, 2.6, 2343),
char2 = LETTERS[c(4, 24, 3)],
nums = 5:7
)
bbox(newAgent)
extent(newAgent)
coordinates(newAgent)
Run the code above in your browser using DataLab