Last updated: 2021-10-19

Checks: 7 0

Knit directory: Test/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20210926) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 7f2b45d. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    analysis/.DS_Store
    Ignored:    data/.DS_Store
    Ignored:    data/Stabiliseur/
    Ignored:    data/json/
    Ignored:    data/plan/
    Ignored:    fig/.DS_Store
    Ignored:    workflowr.R

Untracked files:
    Untracked:  analysis/2021-10-19.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/2021-10-19-Test.Rmd) and HTML (docs/2021-10-19-Test.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 7f2b45d cfcforever 2021-10-19 add new analysis
html f30f170 cfcforever 2021-10-19 Build site.
Rmd 494a79b cfcforever 2021-10-19 add new analysis
html a894de3 cfcforever 2021-10-19 Build site.
Rmd f42d53b cfcforever 2021-10-19 add new analysis
html 7ef6c49 cfcforever 2021-10-19 Build site.
Rmd a1d71b8 cfcforever 2021-10-19 add new analysis
html 0be87d8 cfcforever 2021-10-19 Build site.
Rmd d78f0b0 cfcforever 2021-10-19 add new analysis
html 46895f3 cfcforever 2021-10-19 Build site.
Rmd 7b55dbd cfcforever 2021-10-19 add new analysis
html d11081d cfcforever 2021-10-19 Build site.
Rmd f10a0ae cfcforever 2021-10-19 add new analysis
html 57b75c1 cfcforever 2021-10-19 Build site.
Rmd 25b8dc3 cfcforever 2021-10-19 add new analysis
html d3ffea6 cfcforever 2021-10-19 Build site.
Rmd 36a93d9 cfcforever 2021-10-19 add new analysis
html e338b62 cfcforever 2021-10-19 Build site.
Rmd 6c58a38 cfcforever 2021-10-19 add new analysis
html 408eff4 cfcforever 2021-10-19 Build site.
Rmd 779b831 cfcforever 2021-10-19 add new analysis
html 704fe01 cfcforever 2021-10-19 Build site.
Rmd ac54e7f cfcforever 2021-10-19 add new analysis
html 3ff751d cfcforever 2021-10-19 Build site.
Rmd 55a78f1 cfcforever 2021-10-19 add new analysis

load data

data = read.csv2("data/json/2021-10-19/0daa.csv")
tag = "0daa"

coord1 = as.data.frame(matrix(c(-7.811,-8.616,
                                -5.811,-8.616,
                                -3.811,-8.616,
                                -1.811,-8.616,
                                 0.189,-8.616,
                                 2.189,-8.616), ncol = 2, byrow = T))
colnames(coord1) = c("x", "y")

coord2 = as.data.frame(matrix(c(-8.752,8.694,
                                -6.752,8.694,
                                -4.752,8.694,
                                -2.752,8.694,
                                -0.752,8.694,
                                 1.248,8.694), ncol = 2, byrow = T))
colnames(coord2) = c("x", "y")

coord3 = as.data.frame(matrix(c(-7.642,-9.007,
                                -7.642,-7.007,
                                -7.642,-5.007,
                                -7.642,-3.007,
                                -7.642,-1.007,
                                -7.642,0.993), ncol = 2, byrow = T))
colnames(coord3) = c("x", "y")

test 1

contre le corps

dat = data %>%
  filter(H==11 & M>=28 & M<=30)
dat$num = 1:nrow(dat)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord1, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 11H28 - 11H30")
print(q)

Version Author Date
0be87d8 cfcforever 2021-10-19
46895f3 cfcforever 2021-10-19
d11081d cfcforever 2021-10-19
d3ffea6 cfcforever 2021-10-19
408eff4 cfcforever 2021-10-19
3ff751d cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 11H28 - 11H30 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1128_1130.gif")

dans le poche

dat = data %>%
  filter(H==11 & M>=35 & M<=37)

steps = dat$num
q <- p +
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) +
  geom_point(data = coord1, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) +
  labs(x="", y="", title = "0daa: 11H35 - 11H37")
print(q)

Version Author Date
0be87d8 cfcforever 2021-10-19
46895f3 cfcforever 2021-10-19
d11081d cfcforever 2021-10-19
d3ffea6 cfcforever 2021-10-19
408eff4 cfcforever 2021-10-19
3ff751d cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 11H35 - 11H37 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T),
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1135_1137.gif")

dessus de la tête

dat = data %>%
  filter(H==11 & M>=38 & M<=40)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord1, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 11H38 - 11H40")
print(q)

Version Author Date
0be87d8 cfcforever 2021-10-19
46895f3 cfcforever 2021-10-19
d11081d cfcforever 2021-10-19
d3ffea6 cfcforever 2021-10-19
408eff4 cfcforever 2021-10-19
3ff751d cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 11H38 - 11H40 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1138_1140.gif")

test 2

contre le corps

dat = data %>%
  filter(H==11 & M>=56 & M<=59)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord2, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 11H56 - 11H59")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
7ef6c49 cfcforever 2021-10-19
0be87d8 cfcforever 2021-10-19
46895f3 cfcforever 2021-10-19
d11081d cfcforever 2021-10-19
d3ffea6 cfcforever 2021-10-19
408eff4 cfcforever 2021-10-19
3ff751d cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 11H56 - 11H59 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T),
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1156_1159.gif")

dans le poche

dat = data %>%
  filter(H==12 & M>=00 & M<=03)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord2, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 12H00 - 12H03")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
7ef6c49 cfcforever 2021-10-19
0be87d8 cfcforever 2021-10-19
46895f3 cfcforever 2021-10-19
d11081d cfcforever 2021-10-19
d3ffea6 cfcforever 2021-10-19
408eff4 cfcforever 2021-10-19
3ff751d cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 12H00 - 12H03 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1200_1203.gif")

dessus de la tête

dat = data %>%
  filter(H==12 & M>=04 & M<=07)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord2, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 12H04 - 12H07")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
7ef6c49 cfcforever 2021-10-19
0be87d8 cfcforever 2021-10-19
46895f3 cfcforever 2021-10-19
d11081d cfcforever 2021-10-19
e338b62 cfcforever 2021-10-19
3ff751d cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 12H04 - 12H07 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1204_1207.gif")

test 3

à la main en continu

dat = data %>%
  filter(H==15 & M>=55 & M<=56)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord3, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 15H55 - 15H56")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 15H55 - 15H56 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1555_1556.gif")

dans le poche en continu

dat = data %>%
  filter(H==15 & M>=57 & M<=58)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord3, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 15H57 - 15H58")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 15H57 - 15H58 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1557_1558.gif")

dessus de la tête en continu

dat = data %>%
  filter(record_timestamp>=1634651940 & record_timestamp<=1634652060)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord3, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 15H59 - 16H01")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 15H59 - 16H01 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1559_1601.gif")

à la main sans continu

dat = data %>%
  filter(H==16 & M>=38 & M<=40)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord3, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 16H38 - 16H40")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 16H38 - 16H40 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1638_1640.gif")

dans le poche sans continu

dat = data %>%
  filter(H==16 & M>=41 & M<=43)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord3, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 16H41 - 16H43")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 16H41 - 16H43 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1641_1643.gif")

dessus de la tête sans continu

dat = data %>%
  filter(H==16 & M>=44 & M<=47)

steps = dat$num
q <- p + 
  geom_point(data = dat, aes(x=x, y=y), col="red", size=0.5) + 
  geom_point(data = coord3, aes(x=x,y=y), col = "black", size=1) +
  coord_fixed(ratio = 1, xlim = c(-20,20), ylim = c(-15,10)) + 
  labs(x="", y="", title = "0daa: 16H44 - 16H47")
print(q)

Version Author Date
f30f170 cfcforever 2021-10-19
# q <- q + transition_time(num) + labs(title = paste0("0daa: 16H44 - 16H47 ", "{frame_time}/", length(steps)))
# animate(q, nframes = max(steps)-min(steps)+1, fps = 5, renderer = gifski_renderer(loop = T), 
#         width = 1500, height = 1000, res = 150)
# anim_save("fig/0daa_20211019_1644_1647.gif")

sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] scales_1.1.1     DT_0.17          readxl_1.3.1     lubridate_1.7.10
 [5] dplyr_1.0.6      nnet_7.3-14      kableExtra_1.1.0 rjson_0.2.20    
 [9] cowplot_1.1.0    gifski_0.8.6     gganimate_1.0.7  ggplot2_3.3.3   
[13] workflowr_1.6.2 

loaded via a namespace (and not attached):
 [1] progress_1.2.2    tidyselect_1.1.0  xfun_0.25         purrr_0.3.4      
 [5] colorspace_1.4-1  vctrs_0.3.8       generics_0.1.0    viridisLite_0.3.0
 [9] htmltools_0.5.0   yaml_2.2.1        utf8_1.1.4        rlang_0.4.11     
[13] later_1.1.0.1     pillar_1.6.0      glue_1.4.1        withr_2.4.2      
[17] DBI_1.1.1         tweenr_1.0.1      lifecycle_1.0.0   stringr_1.4.0    
[21] cellranger_1.1.0  munsell_0.5.0     gtable_0.3.0      rvest_1.0.0      
[25] htmlwidgets_1.5.1 evaluate_0.14     labeling_0.3      knitr_1.33       
[29] httpuv_1.5.4      fansi_0.4.1       highr_0.8         Rcpp_1.0.5       
[33] readr_1.4.0       promises_1.1.1    backports_1.1.8   webshot_0.5.2    
[37] farver_2.0.3      fs_1.5.0          hms_1.0.0         digest_0.6.25    
[41] stringi_1.4.6     grid_4.0.2        rprojroot_1.3-2   tools_4.0.2      
[45] magrittr_2.0.1    tibble_3.1.1      crayon_1.4.1      whisker_0.4      
[49] pkgconfig_2.0.3   ellipsis_0.3.1    xml2_1.3.2        prettyunits_1.1.1
[53] httr_1.4.2        rstudioapi_0.13   assertthat_0.2.1  rmarkdown_2.10   
[57] R6_2.4.1          git2r_0.28.0      compiler_4.0.2