as.data.frame | R Documentation |
Function to create a data.frame
of a Move, dBMvariance, dBGBvariance, .unUsedRecords object.
## 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)
x |
a |
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".
'data.frame
'
Marco Smolla & Anne Scharf
## 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.