kirkegaard

a4me_cohen_d | Adjust Cohen's d for measurement error |

add_newlines | Insert newlines into text every nth character. |

add_SAC | Add spatial autocorrelation to a variable. |

all_elements_the_same | Check whether all elements of a list are identical |

all_the_same | Are all elements of a vector the same? |

alternate | Merge vectors by alternating elements. |

are_equal | Are objects equal? |

as_num_matrix | Convert a data.frame to a numeric matrix, including factors. |

averages | Averages |

browse_if | Browse if equal to |

browse_if_equals | Browse if equal to |

cache_object | Cache object |

check_if_in | Check whether object is in a list/vector |

check_spatial_input | Check for input for spatial data. |

combine_upperlower | Combine upper and lower part of a matrix. |

conditional_change | Change values conditionally |

copy_names | Copy names from one object to another. |

cor_matrix | Correlation matrix |

count_NA | Count missing data |

df_add_affix | Add affix to column names. |

df_add_delta | Add delta columns to a data.frame. |

df_add_id | Add ID column to data.frame |

df_as_num | Convert convertible columns in a data.frame to numeric. |

df_colFunc | Apply function to columns of a data.frame |

df_fct_split | Split factors into multiple columns |

df_flexsubset | Subset a data.frame flexibilly |

df_gather_by_pattern | Gather by pattern |

df_legalize_names | Legalize variable names for data frame |

df_merge_cols | Merge columns |

df_merge_rows | Merge rows in data.frame. |

df_no_list_cols | Remove list columns |

df_rank | Rank numeric variables of a data frame. |

df_remove | Remove variables from a data.frame |

df_remove_NA_vars | Remove NA columns |

df_rename | Rename variables in a data.frame |

df_reorder_columns | Reorder columns in a data.frame by name |

df_residualize | Residualized data.frame. |

df_round | Round numeric variables of a data frame. |

df_rowFunc | Calculate summary statistics by rows in a data.frame. |

df_sort | Sort a data.frame by one or more variables. Can sort by... |

df_standardize | Standardize data.frame |

df_subset_by_pattern | Subset by pattern |

df_t | Transpose data.frame |

df_to_ldf | Transform data.frame to a list of data.frames |

df_to_v | Transform data.frame to vector |

discretize | Discretize a variable |

distance_method_detector | Autodetect spatial distance method based on variable names. |

exclude_missing | Exclude missing datapoints |

extract_last | Subset object using Python's negative indexing |

extract_nonnum_vars | Extract non-numerical variables |

extract_num_vars | Extract numerical variables |

fa_all_methods | Factor analyze with all methods |

fa_CAFL | Mixedness detection with a change in absolute factor loadings... |

fa_CFS | Returns a numerical vector of the change in the size of the... |

fa_congruence_matrix | Calculate congruence coefficient matrix. |

fail_if | Fail conditionally |

fail_if_NA | Fail if input contains NA |

fa_Jensens_method | Scatter plot of Jensen's method |

fa_loadings | Get loadings from a factor analysis object. |

fa_MAR | Calculates the mean absolute residual at the case-level. |

fa_mixedness | Calculate mixedness metrics |

fa_nfactors | Determine number of factors |

fa_plot_loadings | Plot factor loadings |

fa_rank_fa | Rank order factor analysis |

fa_residuals | Find residuals on case-level basis for all indicators in a... |

fa_robust_cormatrix | Robust correlation matrix |

fa_robust_fa | Robust factor analysis. |

fa_splitsample_repeat | Repeated splithalf reliability with factor analysis |

fill_in | Fill in values in a vector |

find_cutoff | Find a cutoff of a normal distribution that results in a... |

find_duplicates | Find duplicated elements |

find_neighbors | Find k neighbor cases using spherical or euclidean geometry. |

format_digits | Format number of digits |

get_dims | Get dimensions of object. |

get_distances | Calculate pairwise distances for all pairs for all variables... |

get_distances_mat | Calculate distance matrices for all variables in a... |

get_each_subset_minus_1 | Get every subset of the data where one case is missing. |

get_euclidean_dists | Calculate pairwise euclidean distances for all pairs. |

get_Morans_I | Calculate Moran's I. |

get_Morans_I_multi | Calculate multiple Moran's I's. It's a wrapper function for... |

get_pairwise_means | Calculate pairwise means. |

get_prop_table | Cut into bins and get proportions |

get_spherical_dists | Calculate pairwise spherical distances for all pairs. |

get_t_value | Get t value by confidence-level and degree of freedom |

GG_contingency_table | Plot a contingency table with ggplot2 |

GG_denhist | Histogram with an empirical density curve |

GG_forest | Plot a contingency table with ggplot2 |

GG_funnel | Funnel plot with ggplot2 |

GG_group_means | ggplot2 with group means and error bars. |

GG_kmeans | Scatter plot with kmeans clustering |

GG_save | Save a ggplot2 figure |

GG_save_pdf | Save list of ggplot2 objects to single pdf |

GG_scatter | Scatter plot with regression line and correlation information... |

GG_text | Add text to a ggplot |

grapes-equals-grapes | Equality infix operator |

group_by_pattern | Group by pattern |

has_names | Does object have names? |

helper_breaks | Augment logarithmic values with intuitive additional breaks |

homogeneity | Calculate homogeneity/heterogeneity |

is_ | Check whether object is the right class, size and type |

is_between | Check whether numbers are between two other numbers. |

is_error | Is an object a try-error? |

is_logical | Is logical? |

is_negative | Are values negative? |

is_numeric | Is object thoroughly numeric? |

is_numeric_by_col | Check numericalness by column. |

is_positive | Are values positive? |

is_scalar | Is scalar? |

is_scalar_NA | Is scalar NA? |

is_simple_vector | Is object a simple vector? |

is_unordered_factor | Is object an unordered factor? |

is_whole_number | Is vector a whole number? |

is_zero | Are values zero? |

last_value | Last value |

ldf_to_df | Transform list of data.frames to a data.frame. |

lengths_match | Do the objects have the same lengths? |

make_list_array | Create list-array |

MAT_divide_rowwise | Divide a matrix or df row-wise by a vector |

MAT_find_size | Determine the dimensions of a symmetric matrix from the... |

MAT_half | Get half of a matrix. |

MAT_half2full | Half to full matrix |

math_to_function | Convert a half-complete math condition to a function. |

matrixplot2 | Wrapper for matrixplot() |

MAT_vector2full | Reconstructs a symmetric matrix based on a vector of values... |

mean_abs_diff | Calculate mean absolute difference for values in a vector |

merge_datasets | Improved dataset merger function |

merge_datasets_multi | Merge multiple datasets at once, improved version. |

merge_vectors | Merge vectors. |

meta_extract_data | Extract data from 'rma' object |

meta_pcurve | P-curve plot with ggplot2 |

meta_TIVA | Funnel plot with ggplot2 |

miss_add_random | Insert random NAs into a data.frame. |

miss_amount | How much data is missing? |

miss_analyze | Missing data dependencies |

miss_by_case | Missing datapoint counter, case-level |

miss_by_group | Calculate proportion missing data by group variables |

miss_by_var | Missing datapoint counter, variable-level |

miss_complexity | Calculate the complexity of missing data |

miss_filter | Filter data by missing values per row. |

miss_impute | Impute data using VIM::irmi |

miss_matrix | Missing data matrix |

miss_pattern | Calculates the patterns of missing data |

miss_plot | Missing data barplot with ggplot2. |

MOD_add_str_to_formula | Add terms to a formula from character vector |

MOD_APSLM | Fit all possible simple linear models |

MOD_etas | Get etas from analysis of variance |

MOD_k_fold_r2 | Calculate k fold cross validated r2 |

MOD_LASSO | Repeatedly run glmnet.cv() |

MOD_partial | Calculate a partial correlation. |

MOD_summarize_models | Summarize model coefficients |

MOD_summary | Convenient summary of a 'lm' or 'glm' with analytic... |

named_vectors_to_df | Reshape named vectors to a data.frame. |

ndims | How many dimensions does an object have? |

new_lines_adder | Insert newlines into text every nth character. |

object_to_string | Object to string |

output_sorted_var | Write a nice sorted vector with names. |

percent_cutoff | Find percentage of numbers that are above given thresholds. |

plus | Easy character concatenation |

pool_sd | Pooled sd |

print.model_summary | Custom printing function for model_summary class |

proportion_true | Proportion true |

pu_translate | Translate between names of units and abbreviations |

read_clipboard | Read data frame from clipboard |

read_mega | A wrapper for read.csv() |

read_rvest | Read rvest/xml object |

remove_redundant_vars | Remove redundant variables |

rescale | Rescale numbers |

retry_while_error | Retry while error |

reverse_scale | Reverse a scale |

SAC_control | Control for spatial autocorrelation with multiple methods |

SAC_knsnr | Perform k nearest spatial neighbor regression. |

SAC_knsnr_partial | K nearest spatial neighbor partial correlations. |

SAC_measures | Calculate multiple spatial autocorrelation measures. |

SAC_slr | Perform spatial local regression. |

score_accuracy | Score accuracy of estimates. |

score_items | Score multiple choice items |

semi_par | Semi-partial correlation with weights |

semi_par_serial | Semi-partial correlation with weights |

seq_along_rows | Seq along rows |

silence | Silence warnings or messages from expression via parameter. |

SMD_matrix | Standardized mean differences |

split_every_k | Split vector every k elements |

split_into_n_columns | Split data into n columns. |

stack_into_n_columns | Stack data into n columns. |

standardize | Standardize a vector |

str_clean | Clean string |

str_detect2 | Improved str_detect |

str_detect_replace | Detect and replace values with regex |

str_dirname | Extract directory path from a file path. |

str_filename | Extract filename from a file path. |

str_filter | Filter string by pattern |

str_legalize | Make names legal |

str_replace_multi | Multiple replacement |

str_to_upper_initial | Capitalize initial letter |

str_uniquify | Make strings unique |

table2 | Better table |

throws_error | Does call return an error? |

total_cells | Calculate total number of cells in an object |

try_browse | Browse on error |

try_else | Try and fail with a default value |

unduplicate | Remove duplicate elements |

update_package | Updates the package from Github |

v_to_df | Vector to data frame |

which_max2 | Generalized which.max(). Returns the index of the cell or... |

which_min2 | Generalized which.min(). Returns the index of the cell or... |

winsorise | Winsorise numbers |

write_clipboard | Write object to clipboard |

write_clipboard.data.frame | Write data frame to clipboard |

write_clipboard.matrix | Write matrix to clipboard |

write_clipboard.model_summary | Write model summary to clipboard |

write_mega | A wrapper for write.csv() |

write_rvest | Write rvest/xml object |

write_sessioninfo | Write session information to a file. |

wtd_mean | Calculate a weighted mean |

wtd_median | Weighted median |

wtd_quantile | Weighted quantile |

wtd_sd | Calculate weighted standard deviation |

wtd_sum | Calculate a weighted sum |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.