as.data.frame: Returns a Data Frame

Description Usage Arguments Details Value Author(s) Examples

Description

Function to create a data.frame of a Move, dBMvariance, dBGBvariance, .unUsedRecords object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
  ## 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 move, moveStack, moveBurst, dBMvariance, dBMvarianceStack, dBMvarianceBurst, dBGBvariance,.unUsedRecords or .unUsedRecordsStack object

Details

Depending on the class of the object provided, the obtained data.frame contains the information contained in the slots:

Value

'data.frame'

Author(s)

Marco Smolla & Anne Scharf

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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))

Example output

Loading required package: geosphere
Loading required package: sp
Loading required package: raster
Loading required package: rgdal
rgdal: version: 1.2-10, (SVN revision 673)
 Geospatial Data Abstraction Library extensions to R successfully loaded
 Loaded GDAL runtime: GDAL 1.10.1, released 2013/08/26
 Path to GDAL shared files: /usr/share/gdal/1.10
 Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
 Path to PROJ.4 shared files: (autodetected)
WARNING: no proj_defs.dat in PROJ.4 shared files
 Linking to sp version: 1.2-3 
             timestamp location.long location.lat eobs.battery.voltage
45 2009-02-11 12:16:45     -73.89880     42.74370                 3615
46 2009-02-11 12:31:38     -73.89872     42.74369                 3623
47 2009-02-11 12:45:48     -73.89869     42.74364                 3627
48 2009-02-11 13:00:16     -73.89862     42.74374                 3632
49 2009-02-11 13:15:19     -73.89871     42.74368                 3642
50 2009-02-11 13:30:13     -73.89885     42.74365                 3647
   eobs.horizontal.accuracy.estimate eobs.key.bin.checksum
45                             14.85            2992317972
46                              5.38            1723246055
47                              5.38            1910450098
48                              6.40            2286746099
49                              7.68            3797866101
50                              8.70            3956003832
   eobs.speed.accuracy.estimate    eobs.start.timestamp eobs.status
45                         5.65 2009-02-11 12:14:59.000           A
46                         4.69 2009-02-11 12:30:01.000           A
47                         4.19 2009-02-11 12:45:01.000           A
48                         5.97 2009-02-11 13:00:02.000           A
49                         6.34 2009-02-11 13:15:01.000           A
50                         6.15 2009-02-11 13:30:01.000           A
   eobs.temperature eobs.type.of.fix eobs.used.time.to.get.fix ground.speed
45               20                3                       106         2.10
46               26                3                        97         0.51
47               24                3                        47         0.16
48               24                3                        14         0.23
49               25                3                        18         0.48
50               23                3                        12         0.17
   heading height.above.ellipsoid utm.easting utm.northing utm.zone
45  125.17                   79.3    590130.0      4732942      18N
46    3.28                   94.2    590136.3      4732940      18N
47   91.10                   82.5    590138.5      4732935      18N
48  335.54                  153.7    590144.0      4732947      18N
49  359.79                   73.7    590137.0      4732940      18N
50   29.49                   71.2    590126.0      4732936      18N
   study.local.timestamp optional sensor          timestamps
45   2009-02-11 06:16:45     TRUE    gps 2009-02-11 12:16:45
46   2009-02-11 06:31:38     TRUE    gps 2009-02-11 12:31:38
47   2009-02-11 06:45:48     TRUE    gps 2009-02-11 12:45:48
48   2009-02-11 07:00:16     TRUE    gps 2009-02-11 13:00:16
49   2009-02-11 07:15:19     TRUE    gps 2009-02-11 13:15:19
50   2009-02-11 07:30:13     TRUE    gps 2009-02-11 13:30:13
   eobs.fix.battery.voltage manually.marked.outlier visible sensor.type
45                        0                      NA    true         gps
46                        0                      NA    true         gps
47                        0                      NA    true         gps
48                        0                      NA    true         gps
49                        0                      NA    true         gps
50                        0                      NA    true         gps
   individual.taxon.canonical.name tag.local.identifier
45                 Martes pennanti                   74
46                 Martes pennanti                   74
47                 Martes pennanti                   74
48                 Martes pennanti                   74
49                 Martes pennanti                   74
50                 Martes pennanti                   74
   individual.local.identifier                study.name        study.timezone
45                       Leroy Urban fisher GPS tracking Eastern Standard Time
46                       Leroy Urban fisher GPS tracking Eastern Standard Time
47                       Leroy Urban fisher GPS tracking Eastern Standard Time
48                       Leroy Urban fisher GPS tracking Eastern Standard Time
49                       Leroy Urban fisher GPS tracking Eastern Standard Time
50                       Leroy Urban fisher GPS tracking Eastern Standard Time
             timestamp eobs.battery.voltage eobs.horizontal.accuracy.estimate
45 2009-02-11 12:16:45                 3615                             14.85
46 2009-02-11 12:31:38                 3623                              5.38
47 2009-02-11 12:45:48                 3627                              5.38
48 2009-02-11 13:00:16                 3632                              6.40
49 2009-02-11 13:15:19                 3642                              7.68
50 2009-02-11 13:30:13                 3647                              8.70
   eobs.key.bin.checksum eobs.speed.accuracy.estimate    eobs.start.timestamp
45            2992317972                         5.65 2009-02-11 12:14:59.000
46            1723246055                         4.69 2009-02-11 12:30:01.000
47            1910450098                         4.19 2009-02-11 12:45:01.000
48            2286746099                         5.97 2009-02-11 13:00:02.000
49            3797866101                         6.34 2009-02-11 13:15:01.000
50            3956003832                         6.15 2009-02-11 13:30:01.000
   eobs.status eobs.temperature eobs.type.of.fix eobs.used.time.to.get.fix
45           A               20                3                       106
46           A               26                3                        97
47           A               24                3                        47
48           A               24                3                        14
49           A               25                3                        18
50           A               23                3                        12
   ground.speed heading height.above.ellipsoid utm.easting utm.northing
45         2.10  125.17                   79.3    590130.0      4732942
46         0.51    3.28                   94.2    590136.3      4732940
47         0.16   91.10                   82.5    590138.5      4732935
48         0.23  335.54                  153.7    590144.0      4732947
49         0.48  359.79                   73.7    590137.0      4732940
50         0.17   29.49                   71.2    590126.0      4732936
   utm.zone study.local.timestamp  X event.id eobs.fix.battery.voltage
45      18N   2009-02-11 06:16:45 NA       NA                       NA
46      18N   2009-02-11 06:31:38 NA       NA                       NA
47      18N   2009-02-11 06:45:48 NA       NA                       NA
48      18N   2009-02-11 07:00:16 NA       NA                       NA
49      18N   2009-02-11 07:15:19 NA       NA                       NA
50      18N   2009-02-11 07:30:13 NA       NA                       NA
   location.long location.lat optional sensor          timestamps trackId
45     -73.89880     42.74370     TRUE    gps 2009-02-11 12:16:45   Leroy
46     -73.89872     42.74369     TRUE    gps 2009-02-11 12:31:38   Leroy
47     -73.89869     42.74364     TRUE    gps 2009-02-11 12:45:48   Leroy
48     -73.89862     42.74374     TRUE    gps 2009-02-11 13:00:16   Leroy
49     -73.89871     42.74368     TRUE    gps 2009-02-11 13:15:19   Leroy
50     -73.89885     42.74365     TRUE    gps 2009-02-11 13:30:13   Leroy
   eobs.fix.battery.voltage.1 manually.marked.outlier visible sensor.type
45                          0                      NA    true         gps
46                          0                      NA    true         gps
47                          0                      NA    true         gps
48                          0                      NA    true         gps
49                          0                      NA    true         gps
50                          0                      NA    true         gps
   individual.taxon.canonical.name tag.local.identifier
45                 Martes pennanti                   74
46                 Martes pennanti                   74
47                 Martes pennanti                   74
48                 Martes pennanti                   74
49                 Martes pennanti                   74
50                 Martes pennanti                   74
   individual.local.identifier                study.name        study.timezone
45                       Leroy Urban fisher GPS tracking Eastern Standard Time
46                       Leroy Urban fisher GPS tracking Eastern Standard Time
47                       Leroy Urban fisher GPS tracking Eastern Standard Time
48                       Leroy Urban fisher GPS tracking Eastern Standard Time
49                       Leroy Urban fisher GPS tracking Eastern Standard Time
50                       Leroy Urban fisher GPS tracking Eastern Standard Time
   behavioural.classification
45                         NA
46                         NA
47                         NA
48                         NA
49                         NA
50                         NA
            timestamp location.long location.lat eobs.battery.voltage
1 2009-02-11 00:00:01            NA           NA                 3642
2 2009-02-11 00:15:01            NA           NA                 3635
3 2009-02-11 00:30:01            NA           NA                 3632
4 2009-02-11 00:45:01            NA           NA                 3632
5 2009-02-11 01:00:01            NA           NA                 3642
6 2009-02-11 01:15:01            NA           NA                 3643
  eobs.horizontal.accuracy.estimate eobs.key.bin.checksum
1                                NA            3717396718
2                                NA            3757665008
3                                NA              30534636
4                                NA             720269586
5                                NA            2236026299
6                                NA            3154745678
  eobs.speed.accuracy.estimate    eobs.start.timestamp eobs.status
1                           NA 2009-02-11 00:00:01.000           D
2                           NA 2009-02-11 00:15:01.000           D
3                           NA 2009-02-11 00:30:01.000           D
4                           NA 2009-02-11 00:45:01.000           D
5                           NA 2009-02-11 01:00:01.000           D
6                           NA 2009-02-11 01:15:01.000           D
  eobs.temperature eobs.type.of.fix eobs.used.time.to.get.fix ground.speed
1               27                0                       120           NA
2               23                0                       120           NA
3               21                0                       120           NA
4               20                0                       120           NA
5               22                0                       120           NA
6               22                0                       120           NA
  heading height.above.ellipsoid utm.easting utm.northing utm.zone
1      NA                     NA          NA           NA         
2      NA                     NA          NA           NA         
3      NA                     NA          NA           NA         
4      NA                     NA          NA           NA         
5      NA                     NA          NA           NA         
6      NA                     NA          NA           NA         
  study.local.timestamp  X event.id eobs.fix.battery.voltage sensor
1   2009-02-10 18:00:01 NA       NA                       NA    gps
2   2009-02-10 18:15:01 NA       NA                       NA    gps
3   2009-02-10 18:30:01 NA       NA                       NA    gps
4   2009-02-10 18:45:01 NA       NA                       NA    gps
5   2009-02-10 19:00:01 NA       NA                       NA    gps
6   2009-02-10 19:15:01 NA       NA                       NA    gps
           timestamps trackId
1 2009-02-11 00:00:01   Leroy
2 2009-02-11 00:15:01   Leroy
3 2009-02-11 00:30:01   Leroy
4 2009-02-11 00:45:01   Leroy
5 2009-02-11 01:00:01   Leroy
6 2009-02-11 01:15:01   Leroy

move documentation built on Sept. 11, 2018, 5:06 p.m.