Description Usage Arguments Value Credit Note Author(s) See Also Examples
View source: R/distance_psyo.R
Add distance to another track in psyo
format.
1 2 3 | distance_psyo(
tracks1, tracks2, t_id1 = "id", t_id2 = "id", bind = TRUE, drop = TRUE
)
|
tracks1 |
|
tracks2 |
|
t_id1 |
character or numeric. Column name in |
t_id2 |
character or numeric. Column name in |
bind |
logical. Return the distance as list ( |
drop |
|
psyo
If you use 'psyosphere' for commercial use or research, please support us by include one off the following references:
MIT license: "psyosphere" by B. Ziepert, E. G. Ufkes & P. W. de Vries from https://CRAN.R-project.org/package=psyosphere
APA: Ziepert, B., Ufkes, E., & de Vries, P. W. (2018). psyosphere: Analyse GPS Data. Retrieved from https://CRAN.R-project.org/package=psyosphere
APA: Vries, P., Ziepert, B., & Ufkes, E. (2016). "De psychologie van bewegingen GPS-technologie voor de analyse van natuurlijk gedrag." Tijdschrift voor Human Factors 2: 11-15.
Be aware: this function can take a lot time. You can use average_coordinates
first to test your script with a small sample.
Benjamin Ziepert. Please send feedback to: feedback-psyosphere@analyse-gps.com.
distance_line
,distance_peers
, distance_point
1 2 3 4 5 6 | ## Not run: \dontrun{
data(psyo_rounds2)
psyo_distance <- select_test_sample(psyo_rounds2, 5)
psyo_distance <- distance_psyo(psyo_rounds2, psyo_rounds2)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.