Changelog
Source:NEWS.md
HiClimR 2.2.1
CRAN release: 2022-01-20
- Updated package website
- Updated package
DESCRIPTIONandREADME - Updated package dependencies and
WORDLIST - Style and format Fortran code
HiClimR 2.1.9
CRAN release: 2021-04-02
- Updated citation in package DESCRIPTION
- Updated NAMESPACE and documentation
- Fixed spelling errors
- Updated lifecycle URL in the README
HiClimR 2.1.8
CRAN release: 2021-01-05
- Code cleanup and formatting
- Removed HISTORY comments from source code
- Replaced
1:nexpressions withseq_len(n) - Updated citation, manual, and user information
- Updated documents after code formatting
- Updated package DESCRIPTION and added reference DOI
- Updated package URL: https://hsbadr.github.io/HiClimR/
- README: Updated README.md and added NEWS.md
HiClimR 2.1.7
CRAN release: 2020-11-05
- Updated package DESCRIPTION and author information
- Updated copyright year to 2021
- README: Added Markdown badges
- README: Added Digital Object Identifier (DOI) badge
- README: Linked version and download badges to CRAN
- README: Updated URLs
HiClimR 2.1.6
CRAN release: 2020-02-22
- README: Added CRAN downloads badge
- R: Fix non-informative failure for unsupported input of a vector
HiClimR 2.1.4
CRAN release: 2019-01-20
- Added vignette for HiClimR Bug Reporting
-
HiClimR2nc: Updated documentation and examples - man: Use
\code{}instead of\bold{}for classes
HiClimR 2.1.3
CRAN release: 2019-01-11
- Fixed spelling errors and allowed custom words
-
HiClimR2nc: Fixed timeseries variable definition -
README: LinkHiClimRtoCRANpackage page
HiClimR 2.1.2
- Fixed example ERROR in CRAN checks
- Added example to export NetCDF-4 file
- Updated dependencies and suggested packages
HiClimR 2.1.1
CRAN release: 2019-01-03
-
fastCor: Fixed row/col names of the correlation matrix -
fastCor: Cleaned up zero-variance data check - Examples: Minor comment update
HiClimR 2.1.0
- Supported contiguity constraint based on geographic distance
- Exporting region map and mean timeseries into NetCDF-4 file
- Replaced
multi-variatewithmultivariate - Renamed
weightedVartoweightMVC - Updated citation information
- Updated and cleaned up package
DESCRIPTION - Updated and cleaned up
README
HiClimR 2.0.0
- Fixed NOTE: Registering native routines
-
fastCor: Removed zero-variance data -
fastCor: IntroducedoptBLAS -
fastCor: Code cleanup - Reformatted R source code
- Updated and fixed the examples
- Updated CRU TS dataset citation
- Updated
READMEand all URLs
HiClimR 1.2.3
CRAN release: 2015-08-06
- Fixed
geogMaskconfusing country codes/names - Fixed
geogMaskfilteringInDisputeareas - Corrected data construction in the user manual
-
xshould be created usingas.vector(t(x0)) -
x0is then by moriginal data matrix -
n = length(unique(lon))andm = length(unique(lat))
-
-
coarseRnow returns the original row numbers - Minor
READMEcorrections and updates
HiClimR 1.2.2
CRAN release: 2015-07-22
- Changes for
Undefined global functions - Checking geographic masking output
- Minor
READMEcorrections and updates
HiClimR 1.2.1
CRAN release: 2015-05-24
- Updating variance for multivariate clustering
- More plotting options (
pchandcex) -
geogMasksupports ungridded data - Updated user manual with the following notes:
- longitudes takes values from
-180to180(not0to360) - for gridded data, the rows of input data matrix for each variable is ordered by longitudes
- check
rownames(TestCase$x)for example!- each row represents a station (grid point)
- row name is in the form of
longitude,latitude
- check
- longitudes takes values from
- Minor
verbosefixes and updates - Minor
READMEcorrections and updates - Citation updated: technical paper has been published
HiClimR 1.2.0
CRAN release: 2015-03-27
- Multivariate clustering (MVC)
- the input matrix
xcan now be a list of matrices (one matrix for each variable)-
length(x) = nvarswherenvarsis the number of variables - number of rows
N= number of objects (e.g., stations) to be clustered - number of columns
Mmay vary for each variables- e.g., different temporal periods or record lengths
-
- Each variable is separately preprocessed to allow for all possible options
- preprocessing is specified by lists with length of
nvars(number of variables)length(meanThresh) = length(x) = nvarslength(varThresh) = length(x) = nvarslength(detrend) = length(x) = nvarslength(standardize) = length(x) = nvarslength(weightMVC) = length(x) = nvars
- filtering with
meanThreshandvarThreshthresholds - detrending with
detrendoption, if requested - standardization with
standardizeoption, if requested- strongly recommended since variables may have different magnitudes
- strongly recommended since variables may have different magnitudes
- weighting by the new
weightMVCoption (default is1) - combining variables by column (for each object: spatial points or stations)
- applying PCA (if requested) and computing the correlation/dissimilarity matrix
- preprocessing is specified by lists with length of
- the input matrix
- Preliminary big data support
- function
fastCorcan now split the data matrix intonSplitsplits - adds a logical parameter
upperTritofastCorfunction- computes only the upper-triangular half of the correlation/dissimilarity matrix
- it includes all required information since the correlation/dissimilarity matrix is symmetric
- this almost halves memory use, which can be very important for big data.
- fixes “integer overflow” for very large number of objects to be clustered
- function
- Adds a logical parameter
verbosefor printing processing information - Adds a logical parameter
dendrogramfor plotting dendrogram - Uses
\dontrun{}to skip time-consuming examples- for more examples: https://github.com/hsbadr/HiClimR#examples
- Backward compatibility with previous versions
- The user manual is updated and revised
HiClimR 1.1.6
CRAN release: 2015-03-02
- Setting minimum
k = 2, for objective tree cutting- this addresses an issue caused by undefined
k = NULLinvalidClimRfunction - when all inter-cluster correlations are significant at the user-specified significance level
- this addresses an issue caused by undefined
- Code reformatting using
formatR - Package description and URLs have been revised
- Source code is now maintained on GitHub by authors
HiClimR 1.1.4
CRAN release: 2014-09-02
- Addresses an issue for zero-length mask vector:
Error in -mask : invalid argument to unary operator- this error was introduced in v1.1.2+ after fixing the data-mean bug
HiClimR 1.1.3
CRAN release: 2014-08-28
- The user manual is revised
-
lonSkipandlatSkiprenamed tolonStepandlatStep, respectively - Minor bug fixes
HiClimR 1.1.2
CRAN release: 2014-07-27
- A bug has been fixed where data mean is added to centered data if
standardize = FALSE- objective tree cut and
datacomponent are now corrected- to match input parameters especially when clustering of raw data
- centered data was used in previous versions
- objective tree cut and
HiClimR 1.1.1
CRAN release: 2014-07-14
- Minor bug fixes and memory optimizations especially for the geographic masking function
geogMask - The limit for data size has been removed (use with caution)
- A logical parameter
InDisputeis added togeogMaskfunction to optionally consider areas in dispute for geographic masking by country
HiClimR 1.1.0
CRAN release: 2014-05-16
- Code cleanup and bug fixes
- An issue with
fastCorfunction that degrades its performance on 32-bit machines has been fixed- A significant performance improvement can only be achieved when building R on 64-bit machines with an optimized
BLASlibrary, such asATLAS,OpenBLAS, or the commercialIntel MKL
- A significant performance improvement can only be achieved when building R on 64-bit machines with an optimized
- The citation info has been updated to reflect the current status of the technical paper
HiClimR 1.0.9
CRAN release: 2014-05-07
- Minor changes and fixes for CRAN
- For memory considerations,
- smaller test case with 1 degree resolution instead of 0.5 degree
- the resolution option (
resparameter) in geographic masking is removed - Mask data is only available in 0.1 degree (~10 km) resolution
-
LazyLoadandLazyDataare enabled in the description file - The
worldMaskandTestCasedata are converted to lists to avoid conflicts of variable names (lon,lat,info, andmask) with lazy loading
HiClimR 1.0.8
- Code cleanup and bug fixes
- Region maps are unified for both gridded and ungridded data
HiClimR 1.0.7
- Hybrid hierarchical clustering feature that utilizes the pros of the available methods
- especially the better overall homogeneity in Ward’s method and the separation and objective tree cut of the regional linkage method.
- The logical parameter
hybridis added to enable a second clustering step- using
regionallinkage for reconstructing the upper part of the tree at a cut - defined by
kH(number of clusters to restart with using theregionallinkage method) - If
kH = NULL, the tree will be reconstructed for the upper part with the first merging cost larger than the mean merging cost for the entire tree- merging cost is the loss of overall homogeneity at each merging step
- using
- If hybrid clustering is requested, the updated upper-part of the tree will be used for cluster validation.
HiClimR 1.0.4
- Code cleanup and bug fixes
- The
coarseRfunction is called inside the coreHiClimRfunction - Adds
coordscomponent to the output tree for the longitude and latitude coordinates- they may be changed by coarsening
-
validClimRfunction does not requirelonandlatarguments- they are now available in the output tree (
coordscomponent)
- they are now available in the output tree (
HiClimR 1.0.3
- Code cleanup and bug fixes
- One main/wrapper function
HiClimRinternally calls all other functions - Unified component names for all functions
- Objective tree cut is supported only for the
regionallinkage method- Otherwise, the number of clusters
kshould be specified
- Otherwise, the number of clusters
- The new clustering method has been renamed from
HiClimRtoregionallinkage method
HiClimR 1.0.2
- Code cleanup and bug fixes.
- adds a new feature that to return the preprocessed data used for clustering, by a logical argument
retData.- the data will be returned in a component
dataof the output tree - this can be used to utilize
HiCLimRpreprocessing options for further analysis
- the data will be returned in a component
- Ordered regions vector for the selected number of clusters are now returned in the
regioncomponent- length equals the number of spatial elements
N
- length equals the number of spatial elements
HiClimR 1.0.1
- Code cleanup and bug fixes
- Adds a new feature in
validCLimRthat enables users to exclude very small clusters from validation indicesinterCor,intraCor,diffCor, andstatSum, by setting a value for the minimum cluster size (minSize > 1)- the excluded clusters can be identified from the output of
validClimRinclustFlagcomponent, which takes a value of1for valid clusters or0for excluded clusters - in
HiClimR(currently,regionallinkage) method, noisy spatial elements (or stations) are isolated in very small-size clusters or individuals since they do not correlate well with any other elements - this should be followed by a quality control step
- the excluded clusters can be identified from the output of
- Adds
coarseRfunction for coarsening spatial resolution of the input matrixx
HiClimR 1.0.0
- Initial version of
HiClimRpackage that modifieshclustfunction instatslibrary - Adds a new clustering method to the set of available methods
- The new method is explained in the context of a spatiotemporal problem, in which
Nspatial elements (e.g., stations) are divided intokregions, given that each element has observations (or timeseries) of lengthM- minimizes the inter-regional correlation between region means
- modifies
averageupdate formulae by incorporating the standard deviation of the mean of the merged region - a function of the correlation between the individual regions, and their standard deviations before merging
- equals the average of their standard deviations if and only if the correlation between the two merged regions is
100%. - in this special case, the new method is reduced to the classic
averagelinkage clustering method
- Several features are included to facilitate spatiotemporal analysis applications:
- options for preprocessing and postprocessing
- efficient code execution for large datasets.
- cluster validation function
validClimR - implements an objective tree cut to find an optimal number of clusters
- Applicable to any correlation-based clustering