View source: R/net.fn.accessor.R
| check_attr_lengths | R Documentation |
netsim_dat Object are of Equal
LengthEvery nodal attribute must hold exactly one value per node, the
number of nodes being the length of the active attribute.
This is checked at the end of each time step of netsim().
An attribute of the wrong length is usually created by an
append_attr() call that does not cover every new node, or by
direct assignment into dat$run$attr in place of the accessors.
check_attr_lengths(dat)
dat |
Main |
invisible(TRUE) if everything is correct; an error if not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.