| as.data.frame {move} | R Documentation |
Returns a Data Frame
Description
Function to create a data.frame of a Move, dBMvariance, dBGBvariance, .unUsedRecords object.
Usage
## S4 method for signature 'Move'
as.data.frame(x)
## S4 method for signature 'MoveStack'
as.data.frame(x)
## S4 method for signature 'MoveBurst'
as.data.frame(x)
## S4 method for signature 'dBMvariance'
as.data.frame(x)
## S4 method for signature '.unUsedRecords'
as.data.frame(x)
## S4 method for signature '.unUsedRecordsStack'
as.data.frame(x)
Arguments
x |
a |
Details
Depending on the class of the object provided, the obtained data.frame contains the information contained in the slots:
if class
move: "timestamps", "idData", "sensor", "data", "coords".if class
moveStack: "timestamps", "idData", "sensor", "data", "coords", "trackId".if class
moveBurst: "timestamps", "idData", "sensor", "data", "coords", "burstId".if class
dBMvariance: "timestamps", "sensor", "data", "coords", "window.size", "margin", "means", "in.windows", "interest".if class
dBMvarianceStack: "timestamps", "sensor", "data", "coords", "window.size", "margin", "means", "in.windows", "interest","trackId".if class
dBMvarianceBurst: "timestamps", "sensor", "data", "coords", "window.size", "margin", "means", "in.windows", "interest", "burstId".if class
dBGBvariance: "timestamps", "sensor", "data", "coords", "paraSd", "orthSd", "margin", "windowSize".if class
.unUsedRecords: "dataUnUsedRecords", "timestampsUnUsedRecords", "sensorUnUsedRecords".if class
.unUsedRecordsStack: "trackIdUnUsedRecords", "dataUnUsedRecords", "timestampsUnUsedRecords", "sensorUnUsedRecords".
Value
'data.frame'
Author(s)
Marco Smolla & Anne Scharf
Examples
## obtain data.frame from move object
data(leroy)
head(as.data.frame(leroy))
## obtain data.frame from moveStack object
data(fishers)
head(as.data.frame(fishers))
## obtain data.frame from .unUsedRecordsStack object
unUsedFishers <- unUsedRecords(fishers)
head(as.data.frame(unUsedFishers))