Skip to content
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

features help #95

Open
dicook opened this issue Jul 17, 2020 · 0 comments
Open

features help #95

dicook opened this issue Jul 17, 2020 · 0 comments

Comments

@dicook
Copy link
Collaborator

dicook commented Jul 17, 2020

It could be useful to have documentation on using features. The function comes from fabletools but its not documented well there, points to many other things to read.


Trying to add a new calculation, and just setting the function works but gives bad labels. 

> wages %>%
+     features(xp, min)
New names:
* `` -> ...1
New names:
* ...1 -> ...2
# A tibble: 888 x 2
      id  ...2
   <int> <dbl>
 1    31 0.015

and trying to give a name, throws an error

> wages %>%
+     features(xp, m=min)
Error in .l[[1]] : subscript out of bounds
# insert reprex here
wages %>%
  features(xp, min)
wages %>%
  features(xp, m=min)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant