mellio-package: mellio: Polished, Editable Tables and Statistical Results

mellio-packageR Documentation

mellio: Polished, Editable Tables and Statistical Results

Description

mellio provides two main workflows:

Details

  • mellio_open() sends supported R objects to the Mellio web app. Statistical results open as Result Cards, tabular data opens in the Tables workspace, and supported plots or image files open in Figures.

  • melliotab() creates polished, editable tables directly in R for data frames, model summaries, correlation matrices, and model comparisons.

Common mellio_open() inputs

mellio_open() supports common htest objects such as t.test(), cor.test(), and chisq.test(); model objects such as lm, glm, aov, lme4 mixed models, lavaan fits, survival models, ordinal models, and selected optional-package result classes; data frames, matrices, and base table objects; ggplot2, lattice, htmlwidget, recorded plot, and image-file inputs.

Common melliotab() workflow

Use melliotab(x) to create a table, then apply table modifiers such as mt_title(), mt_note(), mt_decimals(), mt_format_ci(), mt_sig_stars(), mt_spanner(), mt_section_title(), and mt_simplify_headers(). Pass two or more model objects to melliotab(m1, m2, ...) to create a side-by-side model comparison table. For file-based handoff, use mt_copy() or mt_save() to copy or save a finished table as HTML, LaTeX, or Markdown.

Quick reference

Function or option What it does Common values
melliotab() Creates a formatted table in R style = "apa7" or "ieee"
mellio_open() Opens supported objects in Mellio Models, tests, tables, data, plots
style / mt_set_style() Sets or changes table style "apa7", "ieee"
title / mt_title() Sets the table title Text
number / mt_number() Sets the table number Number or text
note / mt_note() Adds a table note Text
source / mt_source() Adds source text Text
decimals, p_decimals / mt_decimals() Controls rounding decimals = 2, p_decimals = 3
mt_sig_stars() Adds significance stars to an existing table remove_p = TRUE or FALSE
mt_remove_leading_zeros() Controls leading zeros TRUE, FALSE
mt_diagonal() Formats correlation matrices mode = "dash"; triangle = "lower"
mt_spanner() Adds a spanning column header Label text and columns
mt_section_title() Adds a section-title row before = or after = a row number
mt_indent() Indents selected rows rows =; level = 1, 2, or 3
mt_copy() / mt_save() Copies or saves a table Clipboard, .html, .tex, .md

Privacy and provenance

By default, Mellio payloads include R/package-version metadata and data fingerprints where available. Local machine details such as user name, host name, working directory, git state, and script path are not included unless you opt in with options(mellio.provenance = "full"). Set options(mellio.provenance = FALSE) to omit provenance metadata.

Citation

Use citation("mellio") to get the package citation.

Author(s)

Maintainer: Melih Sahin nicomelpro@pm.me

See Also

mellio_open(), melliotab(), mt_save(), mt_copy()


mellio documentation built on Aug. 30, 2026, 1:06 a.m.