Accessor generics shared with fmrihrf
Source:R/covariate.R, R/event_vector.R, R/feature.R, and 1 more
fmrihrf-generics.Rdonsets(), durations(), blockids() and nbasis() are fmrihrf's
generics, re-exported by fmridesign. fmridesign registers methods on them
for its own classes, so fmrihrf::onsets(term) and fmridesign::onsets(term)
are the same function and dispatch to the same methods, whichever package
is attached first.
fmridesign provides methods for:
onsets(),durations():event_term,convolved_termblockids():event_term,convolved_term,event_modelnbasis():hrfspec,convolved_termsubclasses,feature_termand the parametric basis classes (Poly,BSpline,Scale, ...)
Methods for fmrihrf's own classes (Reg, HRF, sampling_frame) are
documented in fmrihrf.
Value
See fmrihrf::onsets(), fmrihrf::durations(),
fmrihrf::blockids() and fmrihrf::nbasis().