des_summary: Creates a data frame with a summary of descriptive...

Description Usage Arguments Value Credit Author(s) See Also Examples

View source: R/des_summary.R

Description

Creates a data frame with a summary of descriptive information for each track

Usage

1
des_summary(tracks, cweight = "auto", cgaps = "", t_id = "id", des_df = "")

Arguments

tracks

psyo. Data frame with tracks.

cweight

character. Column name of tracks that contains the weight for the calculation.

cgaps

character. Column name of tracks that marks gaps with TRUE.

t_id

character or numeric. Column name in tracks that identifies the separate tracks.

des_df

data frame. Function results will be merge with this data frame.

Value

Data frame

id

id of the track

begin_time

begin time of the track

end_time

end time of the track

duration_in_mins

duration in minutes

tracker_interval_in_seconds

tracker interval in seconds

coordinates

number of coordinates without gaps

coordinates_gapped

number of coordinates with gaps

coordinates_all

number of all coordinates

time_duplicates

coordinates with the same time

time_gap

coordinates that are marked as gaps because they differ to much from the tracker interval

speed_gap

coordinates that are mark's as gaps because they have a higher speed than expected

sum_km

total number of kilometres

mean_kmh

average speed in kmh

mean_kmh_no_stop

average speed in kmh without coordinates with 0 speed

movement_time_sum

total time without speed higher than 0

no_movement_time_sum

total time with speed equal to 0

move_by_no_move_ratio

ratio between movement and no movement time

time_good_sum

data with good data

time_missing_sum

data that is missing

time_gap_sum

data that is excluded by gaps

Credit

If you use 'psyosphere' for commercial use or research, please support us by include one off the following references:

Author(s)

Benjamin Ziepert. Please send feedback to: feedback-psyosphere@analyse-gps.com.

See Also

des_duplicates, des_first, des_last, des_length, des_max, des_min, des_mean, des_sd, des_sum

Examples

1
2
3
4
5
6
## Not run: 
data(psyo_rounds2)
tracks <- psyo_rounds2
descriptive <- des_summary(tracks)

## End(Not run)

psyosphere documentation built on July 2, 2020, 12:08 a.m.