Moved code for count_item.pdf to thesis folder
This commit is contained in:
parent
bdf9ad947a
commit
198a22f4d8
@ -11,8 +11,7 @@
|
|||||||
#
|
#
|
||||||
# input: results/event_logfiles_2024-02-21_16-07-33.csv
|
# input: results/event_logfiles_2024-02-21_16-07-33.csv
|
||||||
# results/raw_logfiles_2024-02-21_16-07-33.csv
|
# results/raw_logfiles_2024-02-21_16-07-33.csv
|
||||||
# output: results/figures/counts_item.pdf
|
# output: results/figures/counts_item_firsttouch.pdf
|
||||||
# results/figures/counts_item_firsttouch.pdf
|
|
||||||
# results/figures/duration.pdf
|
# results/figures/duration.pdf
|
||||||
# results/figures/heatmap_start.pdf
|
# results/figures/heatmap_start.pdf
|
||||||
# results/figures/heatmap_stop.pdf
|
# results/figures/heatmap_stop.pdf
|
||||||
@ -104,12 +103,9 @@ datart <- mtt::extract_artworks(items,
|
|||||||
datart <- datart[order(datart$artwork), ]
|
datart <- datart[order(datart$artwork), ]
|
||||||
names(counts_item) <- datart$title
|
names(counts_item) <- datart$title
|
||||||
|
|
||||||
pdf("results/figures/counts_item.pdf", width = 20, height = 10, pointsize = 10)
|
|
||||||
par(mai = c(5, .6, .1, .1))
|
|
||||||
tmp <- barplot(counts_item, las = 2, ylim = c(0, 60000),
|
tmp <- barplot(counts_item, las = 2, ylim = c(0, 60000),
|
||||||
border = NA, col = "#434F4F")
|
border = NA, col = "#434F4F")
|
||||||
text(tmp, counts_item + 1000, datart$artwork)
|
text(tmp, counts_item + 1000, datart$artwork)
|
||||||
dev.off()
|
|
||||||
|
|
||||||
### Which item gets touched most often first?
|
### Which item gets touched most often first?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user