Coo
object.calibrate_harmonicpower(x, method, id, nb.h, drop, thresh, plot, verbose)
Coo
of Opn
objectc('efourier', 'rfourier', 'sfourier', 'tfourier')
for Out
s and
dfourier
for Out
s.minh
belowgg
a ggplot object, q
the quantile matrix
minh
a quick summary that returns the number of harmonics required to achieve
a certain proportion of the total harmonic power.
calibrate_deviations
,
calibrate_r2
,
calibrate_reconstructions
data(bot)
cal <- calibrate_harmonicpower(bot)
## Not run: ------------------------------------
# # for Opn objects
# data(olea)
# calibrate_harmonicpower(olea, "dfourier")
#
# # let customize the ggplot
# library(ggplot2)
# cal$gg + theme_minimal() +
# coord_cartesian(xlim=c(3.5, 12.5), ylim=c(90, 100)) +
# ggtitle("Harmonic power calibration")
## ---------------------------------------------
# if you want to do efourier with 99% calibrate_harmonicpower in one step
# efourier(bot, nb.h=calibrate_harmonicpower(bot, "efourier", plot=FALSE)$minh["99%"])
Run the code above in your browser using DataLab