Extract or change the marks attached to the tiles of a tessellation on a linear network.
1 2 3 4 5 6 7 8
Tessellation on a linear network (object of class
Vector or data frame of mark values,
These functions extract or change the marks
attached to each of the tiles in the tessellation
They are methods for the generic functions
for the class
"lintess" of tessellations on a network.
marks(x) extracts the marks of
marks(x) <- value assigns new marks to the
x, and updates the dataset
x in the current
The marks can be a vector, a factor, or a data frame.
For the assignment
marks(x) <- value, the
should be a vector or factor of length equal to the number of
x, or a data frame with as many rows
as there are tiles in
value is a single value,
or a data frame with one row, then it will be replicated
so that the same marks will be attached to each tile.
To remove marks, use
marks(x) <- NULL or
marks(x), the result is a vector, factor or data frame,
containing the mark values attached to the tiles of
If there are no marks, the result is
unmark(x), the result is the tessellation without marks.
marks(x) <- value, the result is the updated tessellation
x (with the side-effect that the dataset
x is updated in
the current environment).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.