Package: COINr 1.1.14

COINr: Composite Indicator Construction and Analysis

A comprehensive high-level package, for composite indicator construction and analysis. It is a "development environment" for composite indicators and scoreboards, which includes utilities for construction (indicator selection, denomination, imputation, data treatment, normalisation, weighting and aggregation) and analysis (multivariate analysis, correlation plotting, short cuts for principal component analysis, global sensitivity analysis, and more). A composite indicator is completely encapsulated inside a single hierarchical list called a "coin". This allows a fast and efficient work flow, as well as making quick copies, testing methodological variations and making comparisons. It also includes many plotting options, both statistical (scatter plots, distribution plots) as well as for presenting results.

Authors:William Becker [aut, cre, cph]

COINr_1.1.14.tar.gz
COINr_1.1.14.zip(r-4.5)COINr_1.1.14.zip(r-4.4)COINr_1.1.14.zip(r-4.3)
COINr_1.1.14.tgz(r-4.4-any)COINr_1.1.14.tgz(r-4.3-any)
COINr_1.1.14.tar.gz(r-4.5-noble)COINr_1.1.14.tar.gz(r-4.4-noble)
COINr_1.1.14.tgz(r-4.4-emscripten)COINr_1.1.14.tgz(r-4.3-emscripten)
COINr.pdf |COINr.html
COINr/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/bluefoxr/coinr/issues

Datasets:

On CRAN:

9.13 score 25 stars 1 packages 66 scripts 470 downloads 95 exports 40 dependencies

Last updated 2 months agofrom:6e1a487160. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports:a_ameana_copelanda_genmeana_gmeana_hmeanAggregateapprox_dfboxcoxbuild_example_coinbuild_example_purseCAGRchange_indcheck_iDatacheck_iMetacheck_SkewKurtCOIN_to_coincompare_coinscompare_coins_corrcompare_coins_multicompare_dfCustomDenominateexport_to_excelget_corrget_corr_flagsget_cronbachget_dataget_data_availget_denom_corrget_dsetget_eff_weightsget_noisy_weightsget_opt_weightsget_PCAget_pvalsget_resultsget_sensitivityget_statsget_str_weakget_trendsget_unit_summaryi_meani_mean_grpi_mediani_median_grpicodes_to_inamesimport_coin_toolImputeimpute_panelis.coinis.pursekurtlog_CTlog_CT_origlog_CT_pluslog_GIIn_bordan_dist2maxn_dist2refn_dist2targn_fracmaxn_goalpostsn_minmaxn_prankn_rankn_scaledn_zscorenames_to_codesnew_coinNormaliseoutrankMatrixplot_barplot_corrplot_distplot_dotplot_frameworkplot_scatterplot_sensitivityplot_uncertaintyprc_changeqNormaliseqTreatrank_dfRegenremove_elementsreplace_dfround_dfSA_estimateSA_sampleScreensignif_dfskewTreatucodes_to_unameswinsorise

Dependencies:cellrangerclicolorspacecpp11crayonfansifarverggplot2gluegtablehmsisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeopenxlsxpillarpkgconfigprettyunitsprogressR6RColorBrewerRcppreadxlrematchrlangscalesstringitibbleutf8vctrsviridisLitewithrzip

Adjustments and Comparisons

Rendered fromadjustments.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-06-28
Started: 2022-06-28

Aggregation

Rendered fromaggregate.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-04-11
Started: 2022-06-28

Analysis

Rendered fromanalysis.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-06-28
Started: 2022-06-28

Building coins

Rendered fromcoins.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-10-27
Started: 2022-06-28

Changes from COINr v1.0.0

Rendered fromv1.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2023-02-08
Started: 2022-06-28

Data selection

Rendered fromdata_selection.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-07-05
Started: 2022-06-28

Denomination

Rendered fromdenomination.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-06-28
Started: 2022-06-28

Imputation

Rendered fromimputation.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-10-07
Started: 2022-06-28

Normalisation

Rendered fromnormalise.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2023-11-17
Started: 2022-06-28

Other Functions

Rendered fromother_functions.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-06-28
Started: 2022-06-28

Outlier Treatment

Rendered fromtreat.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-06-28
Started: 2022-06-28

Overview

Rendered fromoverview.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-10-27
Started: 2022-06-28

Presenting Results

Rendered fromresults.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-06-28
Started: 2022-06-28

Sensitivity Analysis

Rendered fromsensitivity.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-06-19
Started: 2022-06-28

Unit Screening

Rendered fromscreening.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-06-28
Started: 2022-06-28

Visualisation

Rendered fromvisualisation.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-10-05
Started: 2022-06-28

Weights

Rendered fromweights.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2022-09-07
Started: 2022-06-28

Readme and manuals

Help Manual

Help pageTopics
Weighted arithmetic meana_amean
Copeland scoresa_copeland
Weighted generalised meana_genmean
Weighted geometric meana_gmean
Weighted harmonic meana_hmean
Aggregate dataAggregate
Aggregate indicators in a coinAggregate.coin
Aggregate data frameAggregate.data.frame
Aggregate indicatorsAggregate.purse
Interpolate time-indexed data frameapprox_df
ASEM COIN (COINr < v1.0)ASEM_COIN
ASEM raw indicator dataASEM_iData
ASEM raw panel dataASEM_iData_p
ASEM indicator metadataASEM_iMeta
Box Cox transformationboxcox
Build ASEM example coinbuild_example_coin
Build example pursebuild_example_purse
Compound annual growth rateCAGR
Add and remove indicatorschange_ind
Check iDatacheck_iData
Check iMetacheck_iMeta
Check skew and kurtosis of a vectorcheck_SkewKurt
Convert a COIN to a coinCOIN_to_coin
Compare two coinscompare_coins
Compare two coins by correlationcompare_coins_corr
Compare multiple coinscompare_coins_multi
Compare two data framescompare_df
Custom operationCustom
Custom operationCustom.coin
Custom operationCustom.purse
Denominate dataDenominate
Denominate data set in a coinDenominate.coin
Denominate data sets by other variablesDenominate.data.frame
Denominate a data set within a purse.Denominate.purse
Export a coin or purse to Excelexport_to_excel
Export a coin to Excelexport_to_excel.coin
Export a purse to Excelexport_to_excel.purse
Get correlationsget_corr
Find highly-correlated indicators within groupsget_corr_flags
Cronbach's alphaget_cronbach
Get subsets of indicator dataget_data
Get data availability of unitsget_data_avail
Get data availability of unitsget_data_avail.coin
Get data availability of unitsget_data_avail.data.frame
Get subsets of indicator dataget_data.coin
Get subsets of indicator dataget_data.purse
Correlations between indicators and denominatorsget_denom_corr
Gets a named data set and performs checksget_dset
Gets a named data set and performs checksget_dset.coin
Gets a named data set and performs checksget_dset.purse
Get effective weightsget_eff_weights
Noisy replications of weightsget_noisy_weights
Weight optimisationget_opt_weights
Perform PCA on a coinget_PCA
P-values for correlations in a data frame or matrixget_pvals
Results summary tablesget_results
Sensitivity and uncertainty analysis of a coinget_sensitivity
Statistics of columns/indicatorsget_stats
Statistics of indicatorsget_stats.coin
Statistics of columnsget_stats.data.frame
Generate strengths and weaknesses for a specified unitget_str_weak
Get time trendsget_trends
Generate unit summary tableget_unit_summary
Impute by meani_mean
Impute by group meani_mean_grp
Impute by mediani_median
Impute by group mediani_median_grp
Convert iCodes to iNamesicodes_to_inames
Import data directly from COIN Toolimport_coin_tool
Imputation of missing dataImpute
Impute panel dataimpute_panel
Impute a data set in a coinImpute.coin
Impute a data frameImpute.data.frame
Impute a numeric vectorImpute.numeric
Impute data sets in a purseImpute.purse
Check if object is coin classis.coin
Check if object is purse classis.purse
Calculate kurtosiskurt
Log-transform a vectorlog_CT
Log-transform a vectorlog_CT_orig
Log transform a vector (skew corrected)log_CT_plus
Log-transform a vectorlog_GII
Normalise using Borda scoresn_borda
Normalise as distance to maximum valuen_dist2max
Normalise as distance to reference valuen_dist2ref
Normalise as distance to targetn_dist2targ
Normalise as fraction of max valuen_fracmax
Normalise using goalpost methodn_goalposts
Minmax a vectorn_minmax
Normalise using percentile ranksn_prank
Normalise using ranksn_rank
Scale a vectorn_scaled
Z-score a vectorn_zscore
Generate short codes from long namesnames_to_codes
Create a new coinnew_coin
Normalise dataNormalise
Create a normalised data setNormalise.coin
Normalise a data frameNormalise.data.frame
Normalise a numeric vectorNormalise.numeric
Create normalised data sets in a purse of coinsNormalise.purse
Outranking matrixoutrankMatrix
Bar chartplot_bar
Static heatmaps of correlation matricesplot_corr
Static indicator distribution plotsplot_dist
Dot plots of single indicator with highlightingplot_dot
Framework plotsplot_framework
Scatter plot of two variablesplot_scatter
Plot sensitivity indicesplot_sensitivity
Plot ranks from an uncertainty/sensitivity analysisplot_uncertainty
Percentage change of time seriesprc_change
Print coinprint.coin
Print purseprint.purse
Quick normalisationqNormalise
Quick normalisation of a coinqNormalise.coin
Quick normalisation of a data frameqNormalise.data.frame
Quick normalisation of a purseqNormalise.purse
Quick outlier treatmentqTreat
Quick outlier treatment of a coinqTreat.coin
Quick outlier treatment of a data frameqTreat.data.frame
Quick outlier treatment of a purseqTreat.purse
Convert a data frame to ranksrank_df
Regenerate a coin or purseRegen
Regenerate a coinRegen.coin
Regenerate a purseRegen.purse
Check the effect of removing indicators or aggregatesremove_elements
Replace multiple values in a data framereplace_df
Round down a data frameround_df
Estimate sensitivity indicesSA_estimate
Generate sample for sensitivity analysisSA_sample
Screen units based on data availabilityScreen
Screen units based on data availabilityScreen.coin
Screen units based on data availabilityScreen.data.frame
Screen units based on data availabilityScreen.purse
Round a data frame to specified significant figuressignif_df
Calculate skewnessskew
Treat outliersTreat
Treat a data set in a coin for outliersTreat.coin
Treat a data frame for outliersTreat.data.frame
Treat a numeric vector for outliersTreat.numeric
Treat a purse of coins for outliersTreat.purse
Convert uCodes to uNamesucodes_to_unames
Winsorise a vectorwinsorise
World denomination dataWorldDenoms