Functions From Answers to R Questions on Stack Overflow

adjCombos | Create Adjacent Combinations, Varying Length |

almostComplete | Subset a 'data.frame' by Completeness of Rows or Columns |

arrayExtractor | Extracting Information from an Array |

CharNumSplit | Split Vectors in the Form of Numbers+Characters or... |

clc | Clear your workspace |

col_flatten | Flatten List Columns into a Wide or Long Form |

completeVecs | Extract the 'complete.cases' for a Set of Vectors |

dailyCalendar | Creates a Calendar in R |

Diag | Extract the Values at the Diagonal of a Matrix |

dist2df | Converts a Distance Matrix to a data.frame |

dupe_thresh | Filters a Vector According to Number of Duplicates |

Factor | Factor Vectors with Multiple Levels |

findFirst | Find the First, Second, n Non-sequential Position of a Value... |

ftable2dt | Convert an 'ftable' or an 'array' Object to a 'data.table' |

fwf2csv | Creates a CSV Representation of Data Accoding to Stacks of... |

getMyRows | Get Rows Before and After a Specific Value or Rowname |

GroupedMedian | Calculate the Median of Already Grouped Data |

helpExtract | Extract Portions from R Help Files for Use in Documents |

lengthener | Lengthens a Dataset by Combination of Columns |

letterRep | "Wrap" the 'letters' Constant |

list_unlister | Unlists Columns of Lists by Combinations of Values |

makemeNA | Recode Certain Values in a 'data.frame' into 'NA' |

mc_tribble | Like 'dput' for Those Confined to the Tidyverse |

melt_wide | Melt Wide data.tables into Long data.tables |

moveMe | Reorders the Contents of a Vector |

mySOreputation | Parse Your Reputation Page From Any of the Stack Exchange... |

naLast | Move All 'NA' Values to the End of the Rows or Columns of a... |

needleInHaystack | Find a Needle in a Haystack... |

readClip | Read Clipboard Regardless of OS |

read.mtable | Read Data from a File Containing Multiple Datasets |

ReshapeLong | Reshape Data into a Semi-Long Format |

Riffle | Interleaves Values Within Matrices or Vectors |

SampleToSum | Sample from a Specific Range with a Target Vector Sum |

shifter | "Shift" the Values of a Vector Ahead or Behind by a Specified... |

shuffler | Shuffle the Elements of a Vector |

SOfun-package | Functions written while answering Stack Overflow questions |

sortEnds | Select the Top-n Highest or Lowest Values in a Vector |

TabulateInt | Allows Tabulate to Be Used with Negative Integers Too |

this_by_n | Apply This By Every n Values |

tidyHTML | Try to "Tidy" Untidy HTML Pages |

toColClasses | Change the Column Classes of Variables in a 'data.frame' |

TriIndex | Get the row and column indices of upper and lower trianges of... |

TrueSeq | Convert TRUE Values in a Vector to a Grouped Sequence |

unlist_by_row | Unlists the Values in a Rectangular Dataset by Row or Column |

vec2symmat | Creates a Symmetric Matrix from a Vector |

vectorBind | Bind Vectors Column-Wise According to Name |

word_value | Converts a Vector of Words to Numeric Values Based on Letter... |

writeClip | Write to Clipboard on Multiple OSes |

write.Hmisc.SPSS | Write an Hmisc data.frame with labels to SPSS |

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.