Man pages for Deleetdk/kirkegaard
kirkegaard

abbreviate_scaleAbbreviate a scale
add_newlinesInsert newlines into text every nth character.
adj_d_reliabilityAdjust Cohen's d for measurement error
all_differentAre all elements of a vector or list different?
all_elements_the_sameCheck whether all elements of a list are identical
all_the_sameAre all elements of a vector or list the same?
alternateMerge vectors by alternating elements.
are_equalAre objects equal?
assert_installedAssert that packages are installed without attaching them
averagesAverages
browse_ifBrowse if equal to
browse_if_equalsBrowse if equal to
cache_objectCache object
calc_item_gapsCalculate item gaps
calc_row_representativenessCalculate row-wise representativeness
check_if_inCheck whether object is in a list/vector
combine_upperlowerCombine upper and lower part of a matrix.
compare_predictorsFit linear models for a set of predictors to compare their...
conditional_changeChange values conditionally
conf_interval_widthCompute width of confidence interval
copy_namesCopy names from one object to another.
cor_CI_from_SECompute correlation confidence intervals from correlations...
cor_matrixCorrelation matrix
count_decimalsCount decimals
describe2Describe data
df_add_affixAdd affix to column names.
df_add_deltaAdd delta columns to a data.frame.
df_as_numConvert convertible columns in a data.frame to numeric.
df_gather_by_patternGather by pattern
df_legalize_namesLegalize variable names for data frame
df_merge_colsMerge columns
df_merge_rowsMerge rows in data.frame.
df_no_list_colsRemove list columns
df_rankRank numeric variables of a data frame.
df_reorder_columnsReorder columns in a data.frame by name
df_roundRound numeric variables of a data frame.
df_standardizeStandardize data.frame
df_tTranspose data.frame
df_to_ldfTransform data.frame to a list of data.frames
df_to_vTransform data.frame to vector
df_var_tableMake variable table
df_winsoriseWinsorsise data
DIF_testTest for differential item functioning (DIF)
discretizeDiscretize a variable
encode_combinationsEncode combinations
exclude_missingExclude missing datapoints
extract_lastSubset object using Python's negative indexing
extract_nonnum_varsExtract non-numerical variables
extract_num_varsExtract numerical variables
fa_all_methodsFactor analyze with all methods
fa_CAFLMixedness detection with a change in absolute factor loadings...
fa_CFSReturns a numerical vector of the change in the size of the...
fa_congruence_matrixCalculate congruence coefficient matrix.
fail_ifFail conditionally
fail_if_NAFail if input contains NA
fa_Jensens_methodScatter plot of Jensen's method
fa_loadingsGet loadings from a factor analysis object.
fa_MARCalculates the mean absolute residual at the case-level.
fa_mixednessCalculate mixedness metrics
fa_nfactorsDetermine number of factors
fa_plot_loadingsPlot factor loadings
fa_rank_faRank order factor analysis
fa_residualsFind residuals on case-level basis for all indicators in a...
fa_robust_cormatrixRobust correlation matrix
fa_robust_faRobust factor analysis.
fa_splitsample_repeatRepeated splithalf reliability with factor analysis
fill_inFill in values in a vector
find_cutoffFind a cutoff of a normal distribution that results in a...
find_duplicatesFind duplicated elements
get_dimsGet dimensions of object.
get_each_subset_minus_1Get every subset of the data where one case is missing.
get_mirt_statsExtract item parameters from 'mirt()' fit
get_model_coefsExtract model coefficients from a list of models
get_prop_tableCut into bins and get proportions
get_reliabilitiesGet reliability distribution of a 'mirt' model
get_t_valueGet t value by confidence-level and degree of freedom
GG_BMAPlot BMA results
GG_contingency_tablePlot a contingency table with ggplot2
GG_denhistHistogram with an empirical density curve
GG_forestPlot a contingency table with ggplot2
GG_funnelFunnel plot with ggplot2
GG_group_meansggplot2 with group means and error bars.
GG_heatmapHeatmap correlation matrix with ggplot2
GG_kmeansScatter plot with kmeans clustering
GG_matrixMatrix of data values
GG_ordinalPlot ordinal proportions
GG_plot_modelsPlot model coefficients for comparison
GG_proportionsggplot2 proportions plot
GG_saveSave a ggplot2 figure
GG_save_pdfSave list of ggplot2 objects to single pdf
GG_scale_abbreviationPlot results from scale abbreviation
GG_scatterScatter plot with regression line and correlation information...
GG_textAdd text to a ggplot
grapes-equals-grapesEquality infix operator
group_by_patternGroup by pattern
has_namesDoes object have names?
helper_breaksAugment logarithmic values with intuitive additional breaks
homogeneityCalculate homogeneity/heterogeneity
inf_to_NAConert infinite values to 'NA'
inv_tableReverse 'table()'
is_Check whether object is the right class, size and type
is_betweenCheck whether numbers are between two other numbers.
is_errorIs an object a try-error?
is_logicalIs logical?
is_negativeAre values negative?
is_nullishIs x nullish?
is_numericIs object thoroughly numeric?
is_numeric_by_colCheck numericalness by column.
is_positiveAre values positive?
is_scalarIs scalar?
is_scalar_NAIs scalar NA?
is_simple_vectorIs object a simple vector?
is_unordered_factorIs object an unordered factor?
is_whole_numberIs vector a whole number?
is_zeroAre values zero?
last_valueLast value
ldf_to_dfTransform list of data.frames to a data.frame.
lengths_matchDo the objects have the same lengths?
loading_to_slopeConvert from slopes to factor loadings
load_packagesLoad packages
make_list_arrayCreate list-array
mapvaluesMap values
MAT_divide_rowwiseDivide a matrix or df row-wise by a vector
MAT_find_sizeDetermine the dimensions of a symmetric matrix from the...
MAT_halfGet half of a matrix.
MAT_half2fullHalf to full matrix
math_to_functionConvert a half-complete math condition to a function.
matrixplot2Wrapper for matrixplot()
MAT_vector2fullReconstructs a symmetric matrix based on a vector of values...
mean_abs_diffCalculate mean absolute difference for values in a vector
merge_datasetsImproved dataset merger function
merge_datasets_multiMerge multiple datasets at once, improved version.
merge_vectorsMerge vectors.
meta_extract_dataExtract data from 'rma' object
meta_pcurveP-curve plot with ggplot2
meta_TIVAFunnel plot with ggplot2
miss_add_randomInsert random NAs into a data.frame.
miss_amountHow much data is missing?
miss_analyzeMissing data dependencies
miss_by_caseMissing datapoint counter, case-level
miss_by_groupCalculate proportion missing data by group variables
miss_by_varMissing datapoint counter, variable-level
miss_combine_duplicate_varsCombine duplicate variables from a join back into single...
miss_complexityCalculate the complexity of missing data
miss_countCount missing data
miss_fillFill in missing values based on other variables/vectors
miss_filterFilter data by missing values per row.
miss_imputeImpute data using VIM::irmi
miss_locfLast observation carried forward
miss_matrixMissing data matrix
miss_patternCalculates the patterns of missing data
miss_plotMissing data barplot with ggplot2.
MOD_partialCalculate a partial correlation.
named_vectors_to_dfReshape named vectors to a data.frame.
named_vector_to_dfConvert a named data to a data frame
NA_to_F'NA' to 'FALSE'
ndimsHow many dimensions does an object have?
new_lines_adderInsert newlines into text every nth character.
Norms_and_age_correctionsCreate norms and adjust scores for age effects
object_to_stringObject to string
output_sorted_varWrite a nice sorted vector with names.
overlap_metricsCalculate overlap metrics
percent_cutoffFind percentage of numbers that are above given thresholds.
plusEasy character concatenation
pool_sdPooled sd
proportion_trueProportion true
prop_testsCompute many proportion tests
p_to_asteriskAdd asterisks to p values
pu_translateTranslate between names of units and abbreviations
quantile_smoothQuantile smoothening
read_clipboardRead data frame from clipboard
read_megaA wrapper for read.csv()
read_rvestRead rvest/xml object
read_vcfRead VCF file into data frame
remove_redundant_varsRemove redundant variables
rescaleRescale numbers
restore_NAsRestore NAs in vector
retry_while_errorRetry while error
reverse_scaleReverse a scale
rev_uniq_encodingReverse unique encoding
save_plot_to_fileSave a non-ggplot2 plot to a png file
score_accuracyScore accuracy of estimates.
score_bias_metricsScore stereotype bias metrics
score_byScore stereotypes by moderator
score_itemsScore multiple choice items
semi_parSemi-partial correlation with weights
semi_par_serialSemi-partial correlation with weights
seq_along_rowsSeq along rows
silenceSilence warnings or messages from expression via parameter.
slope_to_loadingConvert from factor loading to discrimination
SMD_matrixStandardized mean differences
spatial_knnAdd spatial k nearest neighbor (sknn) values
spatial_lag_corsCompute correlatoins for lag variables
split_every_kSplit vector every k elements
split_into_n_columnsSplit data into n columns.
stack_into_n_columnsStack data into n columns.
standardizeStandardize a vector
str_cleanClean string
str_detect2Improved str_detect
str_detect_replaceDetect and replace values with regex
str_dirnameExtract directory path from a file path.
str_filenameExtract filename from a file path.
str_filterFilter string by pattern
str_legalizeMake names legal
str_replace_multiMultiple replacement
str_roundRound a number to desired number of shown digits
str_to_upper_initialCapitalize initial letter
str_uniquifyMake strings unique
summarize_modelsConcise model comparison summary table
table2Better table
test_HSTest for heteroscedasticity
throws_errorDoes call return an error?
total_cellsCalculate total number of cells in an object
transform_01Transform to 0-1 scale
try_browseBrowse on error
try_elseTry and fail with a default value
unduplicateRemove duplicate elements
uniq_encodingUnique encoding
update_packageUpdates the package from Github
v_to_dfVector to data frame
which_max2Generalized which.max(). Returns the index of the cell or...
which_min2Generalized which.min(). Returns the index of the cell or...
winsoriseWinsorise numbers
write_clipboardWrite object to clipboard
write_clipboard.data.frameWrite data frame to clipboard
write_clipboard.matrixWrite matrix to clipboard
write_clipboard.model_summaryWrite model summary to clipboard
write_megaA wrapper for write.csv()
write_rvestWrite rvest/xml object
write_sessioninfoWrite session information to a file.
wtd_meanCalculate a weighted mean
wtd_sdCalculate weighted standard deviation
wtd_sumCalculate a weighted sum
Deleetdk/kirkegaard documentation built on Feb. 28, 2025, 5:04 p.m.