Description Usage Arguments Details Value Examples
Reads a canopy file, with a .can extension, and creates a data frame from it.
1 2 |
file |
The name of the can file which the data are to be read from. |
label |
Not yet implemeted. |
col3Name |
Vector containing the names of the different elements in the third columne of the can file. |
col3Sep |
Positions to split at in the third column. It is mandatory
that |
The data are stored in a data frame where each row corresponds to only one constituent polygon of the canopy. Only triangle shapes can currently be imported. The first columns contain "labels" linked to the polygons, i.e. characteristics (other than the shape) and IDs. The last column is a list-column containing all the vertices of the polygons. Each element of this column is a matrix. Each row of this matrix corresponds to the spatial coordinates of a vertex.
An object of class c("data.frame", "Canopy")
.
1 | plants <- readCan(system.file("extdata", "field1.can", package = "canis"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.