smth | R Documentation |
smth
Performs a posterior smoothing of single local
labels (locations that differ from their neighbouring locations while the
later have equal labels).
smth(obj, dlta = 1)
## S4 method for signature 'binClst'
smth(obj, dlta = 1)
## S4 method for signature 'binClstStck'
smth(obj, dlta = 1)
obj |
Either a |
dlta |
A numeric value in the range (0,1) (default is 1) indicating the
user's will to accept a change of label. The change of label is done
whenever the decrease in likelihood is not greater then |
A smoothed copy of the input instance. In the case of a
binClstStck_instance
smoothing is performed at population level
as well as at each individual trajectory in the stack.
# -- cluster the example path with a prior smooth of 1 hour --
mysmoothbcp <- stbc(expth,smth=1,info=-1)
# -- apply a posterior smoothing --
mysmoothbcpsmoothed <- smth(mysmoothbcp,dlta=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.