forked from rpruim/statisticalModeling
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: on-the-fly computation in df_stats() fails #78
Labels
Comments
Note: This does work. This goes back to our use of df_stats( ~I(length / width), data = KidsFeet)
## min Q1 median Q3 max mean sd n missing
## 1 2.525773 2.635853 2.755102 2.858485 3 2.752867 0.1293831 39 0 |
This also works because left and right sides of formula are treated differently. df_stats( length / width ~ 1, data = KidsFeet)
## min Q1 median Q3 max mean sd n missing
## 1 2.525773 2.635853 2.755102 2.858485 3 2.752867 0.1293831 39 0 |
By pre-processing the formula, we can get some arithmetic operations ( df_stats( ~ (length / width), data = KidsFeet)
## min Q1 median Q3 max mean sd n missing
## 1 2.525773 2.635853 2.755102 2.858485 3 2.752867 0.1293831 39 0
df_stats( ~ length / width, data = KidsFeet)
## min Q1 median Q3 max mean sd n missing
## 1 2.525773 2.635853 2.755102 2.858485 3 2.752867 0.1293831 39 0
df_stats( ~ (length + width), data = KidsFeet)
## min Q1 median Q3 max mean sd n missing
## 1 29.5 32.75 33.4 35 37.3 33.71538 1.690148 39 0 |
Closing this here. Will be fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: