How can I calculate a trend line in PHP?
Posted
by Stephen
on Stack Overflow
See other posts from Stack Overflow
or by Stephen
Published on 2010-05-04T20:48:20Z
Indexed on
2010/05/04
21:48 UTC
Read the original article
Hit count: 242
So I've read the two related questions for calculating a trend line for a graph, but I'm still lost.
I have an array of xy coordinates, and I want to come up with another array of xy coordinates (can be fewer coordinates) that represent a logarithmic trend line using PHP.
I'm passing these arrays to javascript to plot graphs on the client side.
© Stack Overflow or respective owner