Zeitpunkt Nutzer Delta Tröts TNR Titel Version maxTL Mo 07.10.2024 00:00:00 62.150 +2 3.768.787 60,6 Fosstodon 4.2.13 500 So 06.10.2024 00:01:07 62.148 +4 3.766.113 60,6 Fosstodon 4.2.13 500 Sa 05.10.2024 00:00:05 62.144 +1 3.764.649 60,6 Fosstodon 4.2.13 500 Fr 04.10.2024 00:00:07 62.143 +3 3.762.219 60,5 Fosstodon 4.2.13 500 Do 03.10.2024 00:00:23 62.140 0 3.759.060 60,5 Fosstodon 4.2.13 500 Mi 02.10.2024 00:00:06 62.140 +1 3.755.928 60,4 Fosstodon 4.2.13 500 Di 01.10.2024 00:01:13 62.139 +1 3.752.620 60,4 Fosstodon 4.2.13 500 Mo 30.09.2024 00:01:12 62.138 +3 3.749.484 60,3 Fosstodon 4.2.12 500 So 29.09.2024 00:01:07 62.135 -1 3.746.995 60,3 Fosstodon 4.2.12 500 Sa 28.09.2024 00:01:07 62.136 0 3.745.047 60,3 Fosstodon 4.2.12 500
coolbutuseless (@coolbutuseless) · 02/2023 · Tröts: 5.517 · Folger: 762
Mo 07.10.2024 03:40
#Rstats function calls I've never got right on the first try.
Number 4387: aperm()
So I wrote a small wrapper: aperm_plus()
This is for my use case where I've just read a bunch of linear data from a file and need to swizzle it into an R array
Usually this needs:
* change from row-major to column-major
* move packed pixels into separate planes
* Maybe transpose?
* Maybe flip vertically
Destined to be part of the {ctypesio} package. Coming Soon!
# R code for array permutation
Example of permutating rgb pixel data from linear to array
Example of permutating rgb pixel data from linear to array. Output from running the code.
[Öffentlich] Antw.: 0 Wtrl.: 1 Fav.: 0