-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi Diego,
the doc ( env_stats) states:
The spectral exponent \eqn{\theta} is then estimated as the negative slope of the linear regression of the natural log of spectral density as a function of the natural log of frequency.
And the corresponding code is:
Line 67 in cec9644
| list(slope = as.numeric(abs(coef(model)[2])), |
Shouldn't it be
list(slope = as.numeric(-1 * coef(model)[2]),instead?
What reason is there to not just take the slope as it is in the first place? Did you intend for color to have meaning "the higher, the redder"? Or did I get something wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels