Package: lmfor 1.6

lmfor: Functions for Forest Biometrics

Functions for different purposes related to forest biometrics, including illustrative graphics, numerical computation, modeling height-diameter relationships, prediction of tree volumes, modelling of diameter distributions and estimation off stand density using ITD. Several empirical datasets are also included.

Authors:Lauri Mehtatalo and Kasper Kansanen

lmfor_1.6.tar.gz
lmfor_1.6.zip(r-4.5)lmfor_1.6.zip(r-4.4)lmfor_1.6.zip(r-4.3)
lmfor_1.6.tgz(r-4.4-any)lmfor_1.6.tgz(r-4.3-any)
lmfor_1.6.tar.gz(r-4.5-noble)lmfor_1.6.tar.gz(r-4.4-noble)
lmfor_1.6.tgz(r-4.4-emscripten)lmfor_1.6.tgz(r-4.3-emscripten)
lmfor.pdf |lmfor.html
lmfor/json (API)

# Install 'lmfor' in R:
install.packages('lmfor', repos = c('https://laurimeh.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • BrkRes - Breaking resistance (=bending strength) of birch wood samples
  • afterthin - Increment core data of Scots pine trees
  • alsTree - Individual tree characteristics and ALS data
  • foto - CO2 exchange of transplanted Sphagnum fuscum moss in a chronosequence of mires.
  • ips - Wood-decaying fungi carried by bark beetle individuals and their mites.
  • patti - Increment core data of Scots pine trees
  • plants - Sapling counts from sample plots of sapling stands in Finland.
  • plants2 - Sapling counts from sample plots of sapling stands in Finland.
  • spati - Raw sample plot data of Scots pine in Ilomantsi, Finland.
  • spati2 - Heights and diameters of Scots pine trees in Ilomantsi, Finland.
  • stumplift - Productivity of stump lifting machines.
  • thefdata - Effect of thinning on individual tree growth for 62 trees.
  • thinning - Effect of thinning on individual tree growth
  • treevol - Individual tree volume modeling data for 8508 pine, spruce and birch trees in Finland

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.37 score 3 stars 1 packages 26 scripts 421 downloads 1 mentions 89 exports 22 dependencies

Last updated 3 years agofrom:ab1c248443. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-winNOTEOct 25 2024
R-4.5-linuxNOTEOct 25 2024
R-4.4-winOKOct 25 2024
R-4.4-macOKOct 25 2024
R-4.3-winOKOct 25 2024
R-4.3-macOKOct 25 2024

Exports:area_eshcart_to_polarcircleddcompdetectability_cpsdlldPercbasfithdfunc.recweib1func.recweib2gg_windHDcurtisHDgomperzHDhossfeldIVHDkorfHDlogisticHDmeyerHDmichailoffHDmicmentHDmicment2HDnaslundHDnaslund2HDnaslund3HDnaslund4HDpowerHDprodanHDratkowskyHDrichardsHDsibbesenHDweibullHDwykoffHTestHTest_cpsImputeHeightsinterpolate.DlinesplotmywhiskersNRNRnumordering_cpspllplot.hdmodpolar_to_cartpPercbaspredvffpredvolqllqPercbasqqplotHDqtree.exyqtree.jointdensqtree.momentsqtree.varcovrecweibrllrPercbasscaleDGMean1scaleDGMean2scaleDGMed1scaleDGMed2scaleDMean1scaleDMean2scaleDMed1scaleDMed2shadesstartHDcurtisstartHDgomperzstartHDhossfeldIVstartHDkorfstartHDlogisticstartHDmeyerstartHDmichailoffstartHDmicmentstartHDmicment2startHDnaslundstartHDnaslund2startHDnaslund3startHDnaslund4startHDpowerstartHDprodanstartHDratkowskystartHDrichardsstartHDsibbesenstartHDweibullstartHDwykofftriangle_coordsupdownvisibility_thinning_cpsvolvff

Dependencies:abinddeldirgoftestlatticemagicMASSMatrixmgcvnlmepolycliprpartspatstatspatstat.dataspatstat.explorespatstat.geomspatstat.linnetspatstat.modelspatstat.randomspatstat.sparsespatstat.univarspatstat.utilstensor

Readme and manuals

Help Manual

Help pageTopics
Functions of Lauri Mehtatalolmfor-package lmfor
Increment core data of Scots pine treesafterthin
Individual tree characteristics and ALS dataalsTree
Breaking resistance (=bending strength) of birch wood samplesBrkRes
Plot circles of a specified radiuscircle
Evaluate the fit of a tree diameter distributionddcomp
Fit a Height-Diameter model to forest tree data using functions of package 'nlme'.fithd
CO2 exchange of transplanted Sphagnum fuscum moss in a chronosequence of mires.foto
Available 2- and 3- parameter H-D model functions to be used by function 'fithd'.HDcurtis HDgomperz HDhossfeldIV HDkorf HDlogistic HDmeyer HDmichailoff HDmicment HDmicment2 HDmodels HDnaslund HDnaslund2 HDnaslund3 HDnaslund4 HDpower HDprodan HDratkowsky HDrichards HDsibbesen HDweibull HDwykoff startHDcurtis startHDgomperz startHDhossfeldIV startHDkorf startHDlogistic startHDmeyer startHDmichailoff startHDmicment startHDmicment2 startHDnaslund startHDnaslund2 startHDnaslund3 startHDnaslund4 startHDodels startHDpower startHDprodan startHDratkowsky startHDrichards startHDsibbesen startHDweibull startHDwykoff
Estimate stand density using a Horvitz-Thompson-like estimatorarea_esh gg_wind HTest
Estimate forest characteristics of interest in circular plot sampling using a Horvitz-Thompson-like estimatorcart_to_polar detectability_cps HTest_cps ordering_cps polar_to_cart shades triangle_coords visibility_thinning_cps
Impute missing tree heights into a forest data using a nonlinear (mixed-effects) model.ImputeHeights
Wood-decaying fungi carried by bark beetle individuals and their mites.ips
A spaghetti plot of grouped datalinesplot
The Four-parameter Logit-logistic Distributiondll pll qll rll
A whiskers type residual plotmywhiskers
Solve a Nonlinear Equation Using Newton-Raphson algorithm.NR
Solve a Systems of Nonlinear Equations Using the Newton's MethodNRnum
Increment core data of Scots pine treespatti
The Percentile-based DistributiondPercbas pPercbas qPercbas rPercbas
Sapling counts from sample plots of sapling stands in Finland.plants
Sapling counts from sample plots of sapling stands in Finland.plants2
Diagnostic plot a Height-Diameter model residualsplot.hdmod
Individual tree volume functions for Finlandpredvol
Normal QQ-plot of a fitted H-D modelqqplotHD
Properties of sample quantiles from a tree population described by the percentile-based diameter distribution.interpolate.D qtree.exy qtree.jointdens qtree.moments qtree.varcov
Recovery of Weibull parameters of tree diameter distribution using measured stand characteristicsfunc.recweib1 func.recweib2 recweib
The Weibull scale parameter for the given mean/median diameter and shape parameter.scaleDGMean1 scaleDGMean2 scaleDGMed1 scaleDGMed2 scaleDMean1 scaleDMean2 scaleDMed1 scaleDMed2
Raw sample plot data of Scots pine in Ilomantsi, Finland.spati
Heights and diameters of Scots pine trees in Ilomantsi, Finland.spati2
Productivity of stump lifting machines.stumplift
Effect of thinning on individual tree growth for 62 trees.thefdata
Effect of thinning on individual tree growththinning
Individual tree volume modeling data for 8508 pine, spruce and birch trees in Finlandtreevol
Solve a simple equation using a step halving algorithm.updown
The Variable Form-Factor Volume Modelpredvff volvff