Usage
mountscene(levels = 5, vlen = 200, tilt = 0.2, df = 7, color = NULL, box = TRUE, seed = NULL)
hillscene(num = 100, vlen = 200, tilt = 0.2, df = 7, color = NULL, seed = NULL)
mountain(values, color, df = 7)
Arguments
levels
number of levels of objects in the scene.
vlen
the number of random points along a level.
tilt
the slope of the level.
This is in fractions of the vertical dimension -- the left side
is at tilt
below the average level and the
right side is tilt
above.
df
degrees of freedom of the smoothing of the random points.
color
colors to fill in below each level.
box
logical value: if TRUE
, a frame is drawn around the picture.
seed
an integer giving the argument for set.seed
.
values
numeric vector that is smoothed.