-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathUntitled.R
65 lines (33 loc) · 1.55 KB
/
Untitled.R
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
ui <- function(){
bootstrapPage('',
navbarPage(title = 'Hello'),
tags$style(type = 'text/css', '.navbar { background-color: #262626;
font-family: Arial;
font-size: 13px;
color: #FF0000; }',
'.navbar-dropdown { background-color: #262626;
font-family: Arial;
font-size: 13px;
color: #FF0000; }'))
}
server <- function(input, output, session){
}
shinyApp(ui = ui, server = server)
##rhandsontable
DF_na = data.frame(integer = c(NA, 2:10),
logical = c(NA, rep(TRUE, 9)),
character = c(NA, LETTERS[1:9]),
factor = c(NA, factor(letters[1:9])),
date = c(NA, seq(from = Sys.Date(), by = "days",
length.out = 9)),
stringsAsFactors = FALSE)
DF_na$factor_ch = as.character(DF_na$factor)
DF_na$date_ch = c(NA, as.character(seq(from = Sys.Date(), by = "days",
length.out = 9)))
rhandsontable(DF_na, width = 550, height = 300)
# ###save a png plot
# png(filename="/Users/sibyl/Downloads/p1.png", width=8.27, height=11.69, units ="in", res = 210)
# forest(res, showweight = T, addfit= T, cex = .9)
# #text(-1.6, 18, "Author(s) (Year)", pos=4)
# #text( 1.6, 18, "Correlation [95% CI]", pos=2)
# dev.off()