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

Support calculation w/o graph? #14

Closed
jsa-aerial opened this issue Apr 24, 2019 · 2 comments
Closed

Support calculation w/o graph? #14

jsa-aerial opened this issue Apr 24, 2019 · 2 comments

Comments

@jsa-aerial
Copy link

Quick question. Does this support the calculation of the various regressions and only returning the data results? Put another way, does this always render graphs or can that part be optional?

Thanks!

@HarryStevens
Copy link
Owner

Each generator returns an array of points to make it easier to display the regression line if you choose to do so. But you don't have to render the data to the DOM or display any visual representation of it at all. Each generator also returns properties that let you to reason about the data given the regression you've used: coefficients, an R-squared value, and a function that will return a y-value given an x-value.

@jsa-aerial
Copy link
Author

Sounds great! That's what I was hoping. Thanks!

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

2 participants