-
Notifications
You must be signed in to change notification settings - Fork 10
/
.Rhistory
141 lines (141 loc) · 2.96 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
library(bpaR)
?bpar
??bpar
library(bpaR)
x <- 3
x %>% str
library(bpaR)
x %>% str
library(bpaR)
x %>% str
library(bpaR)
x %>% str
?magrittr
library(tidyverse)
x %>% str
library(bpaR)
x %>% str
library(bpaR)
x %>% str
library(bpaR)
x %>% str
library(bupaR)
library(roxygen2)
library(bupaR)
library(dplyr)
?dplyr
library(bupaR)
install.packages("bupaR")
library(bupaR)
?bupaR
library(bupaR)
?search
search()
library(bupaR)
remove.packages("edeaR")
library(bupaR)
search()
library(bupaR)
search()
library(bupaR)
require(dplyr)
library(bupaR)
search
search()
install.packages("edeaR")
search()
library(bupaR)
search
search()
library(bupaR)
?eventlog
library(bupaR)
?eventlog
library(bupaR)
?eventlog
library(bupaR)
?ieventlog
?eventlog
ieventlog()
install.packages("miniUI")
library(bupaR)
ieventlog()
library(bupaR)
ieventlog()
library(bupaR)
ieventlog()
library(bupaR)
ieventlog()
library(bupaR)
library(miniUI)
source('C:/Users/lucp8407/Google Drive/My UH/R workspace/bupaR/R/eventlog.R', echo=TRUE)
library(bupaR)
?.onAttach
library(bupaR)
?sample_n
library(bupaR)
?bupaR
library(bupaR)
??group_by
library(bupaR)
gender
qou(gender)
quo(gender)
!!gender
gender
as.symbol(gender)
library(bupaR)
mapping <- mapping(patients)
mapping
groups <- "patient"
map(groups, ~.x %in% mapping)
library(purrr)
map(groups, ~.x %in% mapping)
groups <- c("patient", "gender")
map(groups, ~.x %in% mapping)
names(mapping)
map(groups, names(mapping)[~.x %in% mapping])
map(groups, ~names(mapping)[.x %in% mapping])
map(groups, names(mapping)[~.x == mapping])
map(groups, ~names(mapping)[.x == mapping])
groups <- c("patient","gender","time")
map(groups, ~names(mapping)[.x == mapping])
map(groups, ~names(mapping)[.x == mapping]) %>% as.character()
map(groups, ~names(mapping)[.x == mapping]) %>%
.[lengths(.)>0]
map(groups, ~names(mapping)[.x == mapping]) %>%
.[lengths(.)>0] %>%
as.character()
if(length(t) > 0) {
warning(glue("Grouping includes mapped variables {paste(t, collapse = \",\"}"))
}
map(groups, ~names(mapping)[.x == mapping]) %>%
.[lengths(.)>0] %>%
as.character() -> t
if(length(t) > 0) {
warning(glue::glue("Grouping includes mapped variables {paste(t, collapse = \",\"}"))
}
glue::glue("test {t}")
glue::glue("test {paste(t, collapse = ",")"}")
glue::glue("test {paste(t, collapse = \",\")}")
warning(glue::glue("Grouping includes mapped variables {paste(t, collapse = \",\"}"))
if(length(t) > 0) {
warning(glue::glue("Grouping includes mapped variables {paste(t, collapse = \",\")}"))
}
warning(glue::glue("Grouping includes mapped variables {paste(t, collapse = \", \")}.
Might produce unexpected behavior. Use provided analysis levels instead."))
library(bupaR)
devtools::load_all(".")
library(bupaR)
install.packages("processmonitR")
library(processmonitR)
sepsis
library(bupaR)
sepsis %>% resource_dashboard()
sepsis %>% activity_dashboard()
sepsis %>% performance_dashboard()
patients %>% performance_dashboard()
patients %>% rework_dashboard()
sepsis %>% rework_dashboard()
sepsis %>% resource_dashboard()
library(bupaR)