rsmlToPlant: Import a single RSML file into a Plant object

Description Usage Arguments Examples

View source: R/rsmlToPlant.R

Description

Import a single RSML file into a Plant object

Usage

1
rsmlToPlant(rsml.path, threed = FALSE)

Arguments

rsml.path

The path to the .rsml file. Mandatory.

threed

Does the RSML file contains a 3D root system?

Examples

1
2
3
4
5
6
7
8
9
# 2D example
path <- "http://rootsystemml.github.io/images/examples/arabidopsis-simple.rsml"
pl <- rsmlToPlant(path) # import the file as a 2D plant
plot(pl) # plot the plant

# 3D example
path <- "http://rootsystemml.github.io/images/examples/anagallis.rsml"
pl <- rsmlToPlant(path, threed=TRUE) # import the file as a 2D plant
plot(pl, threed=TRUE) # plot the plant

rsml documentation built on May 30, 2017, 12:41 a.m.

Related to rsmlToPlant in rsml...