Man pages for pik-piam/quitte
Bits and pieces of code to use with quitte-style data frames

add_countrycodeAdd country code
aggregate_mapAggregates or disaggregates a data frame
bin_distributeDistribute into Equal Bins
calc_addVariableCalculate new variables
calcAddVariableCalculate new variable
calcCumulatedDiscountCalculates the cumulated discounted time series
calcDecompEffDecomposes a change in a variable based on the changes of its...
calc_growthrateCalculates the growth rate in '%/yr' for variables
calcMitigationCostCalculate mitigation costs
calc_modeCalculate the mode of a sample
calc_quantilesSample Quantiles
cartesianGenerate Cartesian Product from Vectors
character.data.frameChanges factor columns of a data frame into character columns
check_quitteCheck IAMC-style data frame for inconsistencies.
chooseFilterAllows to interactively filter data from quitte object
df.2.named.vectorData frame to named vector
df.as.listData Frame as List
df_populate_rangePopulate Data With Sequence Along Range
df_variationData Frame Variation
duplicateDuplicate rows
factor.data.frame(Re-) Factorise factor and character columns in data frame
factoriseFactorise
getColValuesRetrieves values from one column of a quitte object
getModelsRetrieves models from a quitte object
getPeriodsRetrieves periods from a quitte object
getRegsRetrieves regions from a quitte object
getScenariosRetrieves scenarios from a quitte object
getVarsRetrieves variable names from a quitte object
gg_colour_hueGet n Colours
inline.data.frameConvert a vector of stings to a data frame
interpolate_missing_periodsInterpolate missing periods
ISOyearspeedily converting years to POSIXct values
list_to_data_frameConvert mapping list to data frame
madrat_muleMadrat Mule
magclass_to_tibbleMake a Tibble of a Magclass
make.ISOyearspeedily converting years to POSIXct values
mif2rdsMIF2RDS converter
mutate_textUses mutate based on a character vector#'
order.levelsOrder data frame factor levels.
overwriteReplace rows in a data frame with new values
prepQuitteForScatterselects two variables from a long format Quitte and puts them...
quitte2quantilescalculate quantiles
quitte-classClass "quitte" ~~~
quitte_example_dataquitte example data
quitte_example_dataAR6quitte example data with three models (REMIND, GCAM,...
quitte-packageThe quitte R package
quitteSortSorts a quitte object in a standardized way: model ->...
read.gdxRead item from '.gdx' file as quitte data frame
read_mif_headerRead .mif Header
read.quitteRead IAMC-style .csv or .xlsx files, or object from rds file.
read.snapshotReads IAMC-style .csv or .xlsx files obtained as a IIASA...
remind_timestepsREMIND time steps
removeColNaRemoves all NA columns of a data frame
replace_columnReplace data frame column
reportDuplicatesChecks for duplicates in quitte object
revalue.levelsRevalue data frame factor levels.
seq_rangeSequence from a Range
setXorSet Xor
signif_fracRound fractions only
signrangeSign Range
stacked_dodgedStacked and dodged bar plots
strtrimcommonTrim common portions from both sides of a vector of strings
sum_totalSum over one dimension of a data frame
toolExtractSortScaleQuitteprepare data for plots
tribbeliseRecreate a data frame as a tribble
unique_or_levelsUnique or levels
unquitteRemove quitte class atribute
variable_timestepsBar plots with variable time steps
write.IAMCxlsxWrite .xlsx file
write.mifWrite .mif file
pik-piam/quitte documentation built on April 12, 2025, 5:49 p.m.