Dataframe (ala R/Splus) for MATLAB
No License
I use MATLAB for most of my day-in-day-out work. I teach statistics using R. For the most part, I am happy using MATLAB (if only because its what I know best), but two features of R that I really miss in MATLAB are:
1) Dataframes - a neat wrapper for statistical data (variables in columns, cases in rows)
2) The idea of a model object - run a regression or whatever and then get back an object to manipualate it
So I have implemented (partially) these two features in MATLAB. The documentation is sparse and features are currently biased in my own research directions. I would welcome comments and code contributions (which would be fully acknowledged).
Cite As
Brian McGill (2026). Dataframe (ala R/Splus) for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/6657-dataframe-ala-r-splus-for-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
@dataframe/
@dataframe/private/
@model/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Fixed a couple of errors that showed up in version 7. Lint stilll highlights more issues than I would like but haven't had time to do full upgrade. |
