periods()function returns a dataframe of sleep periods from a hypnogram, continuous or splitted by stages.
transitions()function now use a
formatparameter to return a vector, a dataframe or a plot of counted transitions.
segmentation()function to split signals into consecutive overlapping (or not) chunks.
ckappa()to compute Cohen’s Kappa, a coefficient of agreement for nominal scales.
choi2018()function, a Keras implementation of the deep learning architecture described by Choi & Al in “Real-time apnea-hypopnea event detection during sleep by convolutional neural network”.
read_events_profusion()bug in scored events reading fixed.
plot_hypnogram()can take colors to use as a parameter.
read_events_ndb()function to read
.ndbfiles from Resmed Noxturnal software.
plot_event()function to plot a scored event over a signal.
read_events_profusionfunction to read annotations from NSRR.
xml2package to dependencies.
hypnogramfunction can now take hypnodensity to convert to hypnogram and plot it if asked with the
transitionsfunction to compute matrices of stages transitions.
epochsfunction can take a single vector containing a single signal.
resampledefault to the max of the sample rates.
epochsfunction. Pads epochs with previous and next epochs of the record.
bands_psddoes not normalize by band size anymore.
bands_psd, broadband argument renamed to normalize. Can be set up to FALSE.
write_channeluse platform endian by default to write binary files.