R : Copyright 2005, The R Foundation for Statistical Computing Version 2.1.1 (2005-06-20), ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R. > ### *
> ### > attach(NULL, name = "CheckExEnv") > assign(".CheckExEnv", as.environment(2), pos = length(search())) # base > ## add some hooks to label plot pages for base and grid graphics > setHook("plot.new", ".newplot.hook") > setHook("persp", ".newplot.hook") > setHook("grid.newpage", ".gridplot.hook") > > assign("cleanEx", + function(env = .GlobalEnv) { + rm(list = ls(envir = env, all.names = TRUE), envir = env) + RNGkind("default", "default") + set.seed(1) + options(warn = 1) + delayedAssign("T", stop("T used instead of TRUE"), + assign.env = .CheckExEnv) + delayedAssign("F", stop("F used instead of FALSE"), + assign.env = .CheckExEnv) + sch <- search() + newitems <- sch[! sch %in% .oldSearch] + for(item in rev(newitems)) + eval(substitute(detach(item), list(item=item))) + missitems <- .oldSearch[! .oldSearch %in% sch] + if(length(missitems)) + warning("items ", paste(missitems, collapse=", "), + " have been removed from the search path") + }, + env = .CheckExEnv) > assign("..nameEx", "__{must remake R-ex/*.R}__", env = .CheckExEnv) # for now > assign("ptime", proc.time(), env = .CheckExEnv) > grDevices::postscript("treeglia-Examples.ps") > assign("par.postscript", graphics::par(no.readonly = TRUE), env = .CheckExEnv) > options(contrasts = c(unordered = "contr.treatment", ordered = "contr.poly")) > options(warn = 1) > library('treeglia') > > assign(".oldSearch", search(), env = .CheckExEnv) > assign(".oldNS", loadedNamespaces(), env = .CheckExEnv) > cleanEx(); ..nameEx <- "BuildAgeTable" > > ### * BuildAgeTable > > flush(stderr()); flush(stdout()) > > ### Name: BuildAgeTable > ### Title: Builds a data.frame holding an age table > ### Aliases: BuildAgeTable > ### Keywords: attribute > > ### ** Examples > > # Recall and attach RW data > data(Lei301) > attach(Lei301) > > AgeTable1 <- BuildAgeTable(RW.1A, Tree.features.1) > > detach(Lei301) > > > > cleanEx(); ..nameEx <- "BuildTreeObject" > > ### * BuildTreeObject > > flush(stderr()); flush(stdout()) > > ### Name: BuildTreeObject > ### Title: Builds a data.frame holding tree data > ### Aliases: BuildTreeObject > ### Keywords: attribute > > ### ** Examples > > # Build a tree object > Tree.features.1 <- BuildTreeObject(vols=1.085, vols.ste=0.0, basd=0.5792, basd.ste=0.016, carb=0.4424,carb.ste=0.0011) > > > > cleanEx(); ..nameEx <- "IncrementPlot" > > ### * IncrementPlot > > flush(stderr()); flush(stdout()) > > ### Name: IncrementPlot > ### Title: Draws a 4-plot graph of increments > ### Aliases: IncrementPlot > ### Keywords: aplot > > ### ** Examples > > # Load and attach Lei301 data > data(Lei301) > attach(Lei301) > > IncrementPlot(SA.1.a) > > detach(Lei301) > > > > cleanEx(); ..nameEx <- "JoinBranchesToStem" > > ### * JoinBranchesToStem > > flush(stderr()); flush(stdout()) > > ### Name: JoinBranchesToStem > ### Title: Joins stem-analyses of large branches to stem-analysis of main > ### stem > ### Aliases: JoinBranchesToStem > ### Keywords: manip > > ### ** Examples > > # Recall and attach RW data > data(Lei301) > attach(Lei301) > > SA.1 <- JoinBranchesToStem(RW.1A, Tree.features.1, c(SA.1.a,SA.1.b)) > > detach(Lei301) > > > > cleanEx(); ..nameEx <- "PoolPlot" > > ### * PoolPlot > > flush(stderr()); flush(stdout()) > > ### Name: PoolPlot > ### Title: Draws a 4-plot graph of pools > ### Aliases: PoolPlot > ### Keywords: aplot > > ### ** Examples > > # Load and attach Lei301 data > data(Lei301) > attach(Lei301) > > PoolPlot(SA.1.a) > detach(Lei301) > > > > > cleanEx(); ..nameEx <- "StemAnalysis" > > ### * StemAnalysis > > flush(stderr()); flush(stdout()) > > ### Name: StemAnalysis > ### Title: Performs stem-analysis > ### Aliases: StemAnalysis > ### Keywords: manip > > ### ** Examples > > # Recall and attach RW data > data(Lei301) > attach(Lei301) > > # Perform stem analysis > SA.1.a <- StemAnalysis(RWdata = RW.1A, Tree.height=12.33, Tree.object=Tree.features.1) > SA.1.b <- StemAnalysis(RWdata = RW.1B, Tree.height=5.5, Tree.object=Tree.features.1) > > detach(Lei301) > > > > ### *