This function returns the highest id used in an aspect, that has ids. As example, the aspect NodesAspect has the property id that must be a unique positive integer.
maxId(x) ## Default S3 method: maxId(x) ## S3 method for class 'RCX' maxId(x)
an object of one of the aspect classes (e.g. NodesAspect, EdgesAspect, etc.) or RCX class.
Uses method dispatch, so the default return is NULL and only aspect classes that have ids are implemented. This way it is easier to extend the data model.
integer; Highest id. For RCX objects all highest ids are returned in the vector named by the aspect class.
nodes = createNodes(name = c("ĆDK1","CDK2","CDK3")) maxId(nodes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.