Grow: Grow

Description Usage Arguments Author(s)

View source: R/GrowSeedling.R

Description

Given a starting value grow out the branches. Iterations are controlled by the length of the inputs. The input parameters are put into a dataframe so all parameters should be of equal length or length of 1.

Usage

1
2
3
4
5
6
7
Grow(
  startx = 0,
  starty = 10,
  d = seq(0, 90, length.out = 9),
  m = seq(10, 1, length.out = 9),
  r = seq(0, 1, length.out = 9)
)

Arguments

startx

X to begin branching from. Defaults to 0.

starty

Y to begin branching from. Defaults to 0.

d

Degree change for each branch. Should be one for each iteration.

m

Magnitude for each branch. Should be one for each iteration.

r

Regression from tip of a stem to the branch point. Should be between 0 and 1. for each branch. Should be one for each iteration.

Author(s)

Daniel R. Kick (drk8b9@mail.missouri.edu)


danielkick/snowflake documentation built on Dec. 31, 2020, 11:10 p.m.