join(object, remove.dupl.sites = TRUE, tol = 0.001)
unjoin(object, interval, ...)join], or a single-session capthist object [unjoin]subset.capthist For join, a single-session capthist object. The vector attribute `interval' records the
distinction between occasions that are adjacent in the input (interval =
0) and those that are in consecutive sessions (interval = 1); `interval'
has length one less than the number of occasions.
For unjoin, a multi-session capthist object. Sessions are named
with integers.
joinThe input sessions are assumed to be of the same detector type and to have the same attributes (e.g., covariates should be present for all or none).
The number of occasions (columns) in the output is equal to the sum of the number of occasions in each input.
A new dataframe of individual covariates is formed using the covariates for the first occurrence of each animal.
Attributes xy and signal are handled appropriately, as is trap usage.
unjoinThe input grouping of occasions (columns) into sessions is specified via
interval. This is a vector of length one less than the number of
occasions (columns) in object. Elements greater than zero
indicate a new session.
The interval argument may be omitted if object has a
valid `interval' attribute, as in the output from join.
joined.ovenCH <- join (ovenCH)
summary(joined.ovenCH)
attr(joined.ovenCH, "interval")
summary(unjoin(joined.ovenCH))
Run the code above in your browser using DataLab