Learn R Programming

Fgmutils (version 0.9.4)

avaliaVolumeAgeBased: avalia Volume Age Based

Description

this function evaluate volume based on ages

Usage

avaliaVolumeAgeBased(base, firstAge, lastAge, models, mapper = list(age1 = "idade1", age2 = "idade2", dap1 = "dap1", dap2 = "dap2", dap2est = "dap2est", ht1 = "ht1", ht2 = "ht2", ht2est = "ht2est", volume1 = "volume1", volume2 = "volume2", volume2est = "volume2est"), groupBy = "parcela", save = NULL, percTraining = 0.7, paramEstatisticsDAP, paramEstatisticsHT, paramEstatisticsVolume, plot = "parcela", ageER = "^.*_", ageRound = NaN, ageInYears = F, forcePredict = F)

Arguments

base
the data base
firstAge
the first age to eval
lastAge
the last age to eval
models
list of exclusive for base models
mapper
mapper from labels of fields volume, dap, ht
groupBy
name field of base is group of individuals
save
list of param to save the files
percTraining
percentage that will be reserved for training (default 0.70)
paramEstatisticsDAP
parameters to pass to function 'fnAvaliaEstimativas'
paramEstatisticsHT
analogous to paramEstatisticsDAP
paramEstatisticsVolume
analogous to paramEstatisticsDAP
plot
is list of plots to function roundAges
ageER
regex used to discover age in names from dataframe in listOfdata
ageRound
synchronize begin of ages with an age? what age?
ageInYears
ages are in year?
forcePredict
force the calculation without using predict?

Value

will be returned a list of round ages