[R] How to calculate the derivatives at each data point?
konstantinos christodoulou
kon@t@nt|no@@chr|@todou|ou1 @end|ng |rom gm@||@com
Tue Jan 31 10:16:21 CET 2023
Hi everyone,
I have a vector with atmospheric measurements (x-axis) that is
obtained/calculated at different altitudes (y-axis). The altitude is
uniformly distributed every 7 meters.
For example my dataframe is:
df <- dataframe(
*altitude* = c(1005, 1012, 1019, 1026, 1033, 1040, 1047, 1054, 1061, 1068),
*atm_values* = c(1.41, 1.40, 1.39, 1.38, 1.37, 1.37, 1.38, 1.36, 1.33, 1.31)
)
How can I find the derivatives of the atmospheric measurements at each
altitude?
I look forward to hearing from you!
Thanks,
Kostas
[[alternative HTML version deleted]]
More information about the R-help
mailing list