Plots the observed log power spectrum for one channel together with the full specparam model and the aperiodic-only fit.
Arguments
- result
A
specparam_resultfromspecparam().- channel
Channel index or label to plot (default: 1).
Examples
if (FALSE) { # \dontrun{
sp <- specparam(make_pe_2d(n_time = 4000, sr = 250))
plotSpecparam(sp, channel = 1)
} # }