histStemSizeDist: make a histogram

Description Usage Arguments See Also

View source: R/histStemSizeDist.R

Description

histogramms of the data of an forest object

Usage

1
2
3
histStemSizeDist(data, y = "NumberTreesTotal", col = NA, breaks = 0,
  usedYears = 0.1, graphicType = "plotBox", xlim = NA, ylim = NA,
  innerTicks = T, file = NA, las = 1, log = NA, legend = T)

Arguments

data

A forest object including the data

y

Vector of character strings nameing the variables which will be plotted. getFNames(object) returns an overview of available variables. You can also write short strings to plot all variables which start with these characters. E.g. "biomass_pft" plots the biomass of all pfts, whereas "biomass" plots biomass of all pfts and the total biomass.

col

Color palette to be used. If NA, an adequate collorpallet is created

breaks

one of: (i)a vector giving the breakpoints between histogram cells, (ii) a function to compute the vector of breakpoints, (iii) a single number giving the number of cells for the histogram, (iv)a character string naming an algorithm to compute the number of cells (see Details), (v) a function to compute the number of cells. In the last three cases the number is a suggestion only; the breakpoints will be set to pretty values. If breaks is a function, the x vector is supplied to it as the only argument.

usedYears

numeric; the last x persantage [0-1] of the time line used for analysis

graphicType

Character string indicating layout type of the graphic. "ppt" optimizes for powerpoint slides; "paperC1","paperC2" optimizes for graphic stretching over one or two collumns within a paper; "plotbox" opens a window an optimizes for the screen.

xlim

vector; controlled by the range of data

ylim

vector; controlled by the range of data

innerTicks

Boolean.

file

string which describes the file where the graphic will be saved

las

numeric in 0,1,2,3; the style of axis labels. 0: always parallel to the axis [default],1: always horizontal,2: always perpendicular to the axis, 3: always vertical.

log

string specifying if axis scales should be logarithmic

legend

Boolean. Should the legend be plotted.

See Also

Forest-class,


fjbohn/fast documentation built on May 24, 2019, 9:50 a.m.