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

Create interpolate function #97

Open
markromanmiller opened this issue Mar 5, 2021 · 0 comments
Open

Create interpolate function #97

markromanmiller opened this issue Mar 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@markromanmiller
Copy link
Owner

(copied from #59)
If I'm understanding the new dplyr, it's perfectly permissible for summarize to return a dataframe, and as long as it's not named, ecah column is produced in the output. Therefore something like:

motion %>%
  group_by(Team, Session, Participant) %>%
  summarize(interpolate(head_pos, head_rot, .from = time_from_start, .to = seq(0, 520, by=0.05)))

could make sense.

Should time be explicitly mentioned here? On one hand, I don't feel like this library is restricted to AR/VR stuff, but on the other hand, without a narrow audience things will be confusing.

And what should the interpolant be named? ...I think by default it should be the expression in .from or, if set, the .name argument.

@markromanmiller markromanmiller added the enhancement New feature or request label Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant