── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (2): TierID, TierName
dbl (3): CollarID, E, N
dttm (1): DatetimeUTC
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
Jetzt wollen wir nur Segmente einer bestimmten Dauer einbeziehen (z.B. mehr als 1000 Sekungen). Dazu berechnen wir die Segment-Dauer und filtern nach der Segmentdauer.
Rows: 289 Columns: 4
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
dbl (3): TrajID, E, N
dttm (1): DatetimeUTC
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
library(ggplot2)ggplot(pedestrian, aes(x = E, y = N, group = TrajID)) +geom_path(aes(color =factor(TrajID)), size =1.2) +# Farbige Pfade pro Trajektoriegeom_point(aes(color =factor(TrajID)), size =2) +# Punkte für Messwertefacet_wrap(~TrajID) +# Facettierte Darstellung nach Trajektorien-IDtheme_minimal() +theme(legend.position ="none") # Legende entfernen, da jede Facette nur eine Trajektorie zeigt
Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
ℹ Please use `linewidth` instead.