general utilities

minmax()

Bound values to a lower and upper limit

n_perm()

Calculate the number of permutations

n_unique()

Number of unique values

vsample()

Wrapper for sample() that always assumes input is a vector of options

tidy_colnames()

Easily tidy the column names of a tibble

unique_na()

Unique and omit NA

u_pull()

Pull the unique values from a column of a tibble

str_replace_us() str_replace_sp()

Replace underscores with spaces or vice versa

styling

show_palette()

Show a color palette in a matrix

for 'tidygraph'

filter_component_size()

Filter a tidygraph by component size

get_giant_component() rm_giant_component()

Returns the giant component of a graph

recursive_graph_join()

Recursively join a list of tidygraphs

num_qual_neighbors()

Test if neighborhood passes a logical filter

get_node_index()

Get the node indices from a tidygraph

quick_forestfire() quick_barabasi() quick_graph()

Create random graphs using my preferred models

package utilities

document_df()

Prints framework for documenting a data frame

internal

prep_node_names()

Prepare the needed number of names