latrend v1.6.1
- Fixed CRAN note on HTML validation (#154)
- trajectories(lcModel) outputs cluster membership (#153)
- Improved visuals of trajectory plots (#152)
- Fixed dynamic variable handling (#151)
latrend v1.6.0
- Resolved CRAN problems (#147)
- Re-added clusterCrit as dependency (#145)
- Ordering and labeling of cluster trajectories in plot (#144, #142)
latrend v1.5.2
- Fixed pre-set seed issue in
latrendBatch()
(#134) - Generic
nClusters()
method (#133)
- Resolved CRAN errors and warnings
- Alternative implementation of ASW and Dunn index due to removal of clusterCrit package from CRAN (#131, #132)
- New PAP.adh dataset (#130)
- Added support to lcmm methods for (parallel) gridsearch (#126)
- More robust implementation of meta methods, allowing argument pass-through (#128)
- Improved package documentation (#127)
latrend v1.5.0
- Implemented virtual class for meta methods (#61)
- Implemented a meta method for repeatedly fitting a method and selecting the best fit (see
lcFitRep
,lcFitRepMin
,lcFitRepMax
) (#61) - Implemented a meta method for repeatedly fitting a method until convergence (see
lcFitConverged
) (#61)
- Made
getLcMethod()
generic
- Added check for formula argument to LMKM method
- Added "converged" slot to lcModelPartition
- Generic validate() checks for correct output length
- Added workaround for erroneous R CMD check rmarkdown import note
- Removed usage of soon-to-be deprecated ggplot functions
latrend v1.4.2
- Fixed minor bug in
evaluate.lcMethod()
- Resolved lcmm test error
- Shortened runtime of vignettes
- Shortened runtime of tests
- Fixed bug in
predict.lcModel()
introduced by #116 - Attempt to fix the documentation warning about how the escaped ampersand is not escaped
- Default initialization of
lcMethodLcmmGMM
andlcMethodLcmmGBTM
is set toinit = "lme"
to support lcmm v2.0.0 #121
- Added RMSE and WRMSE metrics
plotMetric()
now shows legend when groupingexternalMetric(lcModels)
returns a named distance matrix
- Improved kml package compatibility; fixed errors on datasets with variable-length short trajectories
- Resolved warnings from
latrendBoot()
andlatrendCV()
- Removed redundant
lcModelCustom
in favor oflcModelPartition
- Renamed
lcMethodCustom
tolcMethodFunction
for clarity
latrend v1.3.0
- Parameterized method testing framework for
lcMethod
andlcModel
implementations. Seetest.latrend()
. - Warnings for missing data observations
- Better handling of data with missing observations
- Removed support for the
longclust
package as it is no longer available on CRAN.
- Updated examples, vignettes and tests to pass with
_R_CHECK_DEPENDS_ONLY_ = true
.
- Fewer required imports
- Reduced test and example time
- Documentation of metrics and external metrics
- Enabled renv for CI
latrend v1.2.0
- Greatly expanded documentation of
lcMethod
,lcModel
,transformFitted()
, andtransformPredict()
. latrendBatch()
evaluates and validates methods and datasets prior to any fitting (#49). This informs users of any errors as soon as possible. Moreover it makes it significantly easier to run parallel computations without the need to export parts of the global environment.- Added
seed
argument tolatrendBatch()
(#47). Similar tolatrendRep()
, seeds are now generated for all methods, allowing for reproducible results. latrendBatch()
now supports an expression for its"data"
argument (#50).- Variable argument pass-through for
lcModel
methods. - Default implementation for
predictForCluster()
. - Added timing information to log output of
latrend*()
methods (#51). - Added
"unit"
option toestimationTime()
. - Implemented
estimationTime()
forlcModels
. plot(lcModel)
only shows trajectories when"what"
argument is not specified.- Support for
lcModel
objects without training data (#36). - Made it easier to define new
lcMethod
subclasses by defining better default methods. plot()
forlcModels
(#48)latrend()
and derivative methods automatically suppress console output whenverbose = FALSE
(#45)- Better automatic axis breaks in metric plots (#44).
trajectoryAssignments()
signature that accepts a posterior probability matrix (#34)- Added convenient mixture initialization options to
lcMethodLcmmGBTM
andlcMethodLcmmGMM
based on standard (single cluster) linear mixed model fit. lcMethodRandom()
acceptsseed
argument.- Expand trajectory assignment input options for
lcModelPartition
. - Methods can now be initialized by instantiating the
S4
class usingnew()
#56, #57.latrend()
functions accept a character name of the method class. - plotClusterTrajectories() to use logic of plotTrajectories() for showing trajectories #65.
- plotClusterTrajectories() with ribbon for trajectory range #68.
logLik()
for k-means based methods #70.- Standard (interpolated) non-parametric cluster trajectory estimation through lcModelPartition and lcModelWeightedPartition #72.
- Option for disabling warning on redefining metrics and external metrics #75.
- Output warning in default lcModel postprob implementation #78.
- default predictAssignments() returns the assignments of trajectoryAssignments() when no newdata is specified #79.
- Lowered the number of required dependencies
- Implemented APPA and OCC metrics. #81.
- Significant:
trajectories()
now returns the original training data, instead of the fitted (predicted) data (#32). This was done to improve clarity. Previous uses oftrajectories()
andplotTrajectories()
should be replaced byfittedTrajectories()
andplotFittedTrajectories()
, respectively. - Significant: Reworked
lcMethod
initialization to use the standardS4
mechanism #56. - Minor:
lcMethod
implementations:prepareData()
must now return anenvironment
(#39). In the past,NULL
was allowed, but this increased code complexity further down the process. - Minor:
estimationTime()
is now an S4 generic method. This does not affect existing code.
- Critical: Fixed
predict()
when cluster membership is specified for the new data (#40). - Critical: Fixed computation of WMAE and WMSE metrics (#52).
- Fixed
lcMethod
argument evaluation for symbolic name input that equals the respective argument name (#41). - Fixed
strip()
error related to use ofeapply()
. - Fixed output error for
latrendBatch()
whenerrorHandling = "pass"
(#46) - Defined estimation time for
lcModelPartition
andlcModelWeightedPartition
(#38). - Fixed default output of
logLik.lcModel
and other implementations (#37). - Default
metric()
did not compute any metrics. - Fixed indentation of messages for
latrend()
and derivative methods. - Fixed computation of WMAE and WMSE metrics #52.
- sprintf warning when running latrendBoot() or latrendCV() #53.
- lcMethodLMKM cluster coefficients are wrong when standardization is enabled #69.
- lcMethodGCKM fails to fit for nClusters = 1 in latrendBatch() #71.
- fittedTrajectories() now uses output of
fitted()
instead ofpredict()
#82.
latrend v1.1.1
Initial release.