Displaying 1 result from an estimated 1 matches for "freqenz".
Did you mean:
frequenz
2009 May 08
4
howto find x value where x=max(x)
Hi,
fp is a data frame like this
,----[ fp ]
| Frequenz AmpNorm
| 1 3322 0.0379490639
| 2 3061 0.0476033058
| 3 2833 0.0592954124
| 4 2242 0.1275510204
`----
i want to find the "Frequenz" where "AmpNorm" is max.
I use this line as workaround:
PeakFreqHz = subset(fp, AmpNorm == max(AmpNorm))$Frequenz[1]
Is there something nicer?
And is there an