Topic: Growth

Topic Description:

Functions for analyzing tree growth, designed for the standard CTFS R Analytical Tables.



File: growth/growthfit.graph.r

View File Source Download File No help file available

Function: graph.growthmodel

Function Description: graph.growthmodel

Graph growth rates and model fit.

Function Arguments:

ArgumentDefault Value
spp
fitlist
whichbin1
regclr"green"
modelclr"blue"
graphdiv10
exportpdf
outfile"growth/linearbin.fit.pdf"
h8
w10

Function Source:


graph.growthmodel=function(spp,fitlist,whichbin=1,regclr="green",modelclr="blue",graphdiv=10,export=
        pdf,outfile="growth/linearbin.fit.pdf",h=8,w=10) {
if(!is.null(export))
{
on.exit(graphics.off())
export(file=outfile,height=h,width=w)
}

for(onesp in spp)
{
if(is.null(export)) x11(height=5,width=9)

graph.growthmodel.spp(fit=fitlist[[onesp]][[whichbin]],graphdiv=20,add=FALSE,modelclr="blue",main
        title=onesp) }
}