Comments (6)
@SDAMcIntyre It's feasible but to avoid weird layouts, and to make things manageable programmatically, I'm thinking of two options here (which are not mutually exclusive):
Option 1. Have predefined "sets of stats", where the current one would be the default and alternate sets could be created that fit / cohabit reasonably well in the cell.
Option 2. Allow custom stats that would each occupy a line in the cell.
One thing is for sure: Unless some coders join in, this will have to wait, as I can barely keep up with the maintenance and the other features I'm working on. (I'm thinking maybe making a call for help on Twitter, if you have other ideas I'm all ears).
from summarytools.
It's done! :)
Will be available on CRAN soon. Here's a document that explains how it works: https://htmlpreview.github.io/?https://github.com/dcomtois/summarytools/blob/master/doc/Custom-Statistics-in-dfSummary.html
from summarytools.
Thx for the suggestion. I'm hesitant to add another parameter for this as there are already many, but maybe this could be automated (by checking distribution types). I'll look into it.
from summarytools.
I couldn't find reliable ways to identify the shape of distributions. So IQR/CV will have to stay until we find something.
However IQR and CV and now removed when data is unary or binary. To try it out, install the 'dev-current' version from GitHub.
from summarytools.
Good job! 👍 Thanks for the information!
from summarytools.
How about allowing the user to choose the stats in the same way as in descr()?
from summarytools.
Related Issues (20)
- Bug: `print.summarytools` fails printing when `method="pander"`
- Do not check grouped_df by callstack in ctable
- Specify how to order rows in a ctable()
- prettyNum error HOT 3
- Width of dfSummary output in html HOT 3
- printr package causes 2 graphs in dfSummary() rendered output
- dfSummary: histogram x-axis tick mark labels? HOT 1
- dfSummary: box plots for numeric variables? HOT 1
- Installing in Azure Synapse + SparkR: Error "fatal error: Magick++.h: No such file or directory compilation terminated." HOT 1
- Security: update jQuery to >=3.6.0 HOT 2
- Change of results when using tb() in grouped freq() HOT 3
- Bug in print generic implementation for list HOT 1
- [Feature request] dfSummary() with docx HOT 1
- UTF-8/odd character handling causes header headaches HOT 3
- Dependency on TCL/Tk breaks Docker/headless mode
- Group Index Does Not Print When Applying stby Through a Function on a List of Data Frames
- error when using dfSummary with shiny
- Fisher's exact test in ctable()?
- Getting incorrect results when using stby and descr with weights HOT 1
- Absolute max for dfSummary? Error when max.distinct.values>220
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from summarytools.