Motley R-functions

as.numeric.factor | Convert factor with numeric labels to numeric |

batchRename | Batch rename files |

calc_i2 | Calculate I^2 for a multilevel meta-analysis |

compareLogisticModels | Compare logistic regression models |

conf_int | Add confidence intervals to Mplus output |

corTable | Extract correlation tables from mplusModel |

count_references | Count references (in text on clipboard) |

doEFA | Conduct a full EFA analysis |

escape_special | Escape special characters |

est_sig | Add significance asterisks to Mplus output |

EtaSq | Calculate partial eta squared for anova |

find_in_files | Find text in files |

format_numeric | Format numeric columns |

funnel_plotlyfi | Create an interactive funnel plot |

ifnofile | Run if file does (not) exist, else load file |

logisticPseudoR2s | Return pseudo R2s for a logistic model |

makeKeysList | Make a keys list |

MplusConstrainModels | Constrain Mplus syntax (old, redundant version) |

mplusToTable | Tabulate Mplus output (old, redundant version) |

param_label | Add parameter labels to Mplus output |

poms | Apply POMS-coding to data |

poolSD | Pool standard deviations |

printResults | Print results of different types of analyses |

printResultsTable | Print Mplus results table formatted for publication |

rb_from_rpb | Calculate biserial correlation from point-biserial... |

rbind_tables | Row-binds tables for publication |

report | Report formatted number |

rpb_from_f | Calculate point-biserial correlation from F-value and sample... |

save_chunk | Run chunk and save to file, load file if it exists |

SB_chisq_Pvalues | Satorra-Bentler corrected chi-square tests for table |

SBChisquare | Satorra-Bentler corrected chi-square test |

screenResponses | Screen data for nonsense answers |

summarySE | summarySE |

t_test_coef | Conduct t-test for coefficients of a model |

update_citekeys | Update citekeys using fuzzy string matching |

z_test_coef | Conduct z-test for coefficients of a model |

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.