Skip to contents

For a PfPR time series, \(x\), fit a spline function. To fit only a subset of the interpolation points, define options$shock_ix

Usage

fit_shock(xds_obj, options = list())

Arguments

xds_obj

an xds xds_obj

options

a list to configure the indices

Value

a list with the mean peak and the values