The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
The package logib
is an R
implementation of
the Swiss Confederation’s salary analysis tool for assessing equal pay
practices (https://www.logib.admin.ch)
In order to install the package from GitHub, use the
devtools
package:
install.packages("devtools")
::install_github("admin-ebg/logib") devtools
In order to install the latest release from CRAN, use:
install.packages("logib")
library(logib)
# ------------------------------------------------------------------------------
# Variant 1: Using an official datalist or exportfile
# Indicate path to the pre-filled datalist or exportfile
# (see 'Further Resources' below)
<- "path/to/my/datalist_or_exportfile.xlsx"
path_to_my_data # Read the data from an official datalist to R
<- read_data(data_path = path_to_my_data)
my_data
# ------------------------------------------------------------------------------
# Variant 2: Using a pre-loaded dataframe called 'my_dataframe'
# Read the data from the pre-loaded dataframe
<- read_data(custom_data = my_dataframe)
my_data
# ------------------------------------------------------------------------------
# Variant 3: Using the included example datalist called 'datalist_example'
datalist_example
# ==============================================================================
# Run the analysis and store the results
<- analysis(data = datalist_example,
results reference_month = 1, reference_year = 2019, usual_weekly_hours = 40,
female_spec = "F", male_spec = "M", age_spec = "age")
# Display the results of the analysis
summary(results)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.