-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Rhistory
62 lines (62 loc) · 1.59 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
bookdownplus::bookdownplus('ucas_zh',render = F)
library(tinytex)
tlmgr_search(ucasthesis.cls)
tlmgr_search('ucasthesis.cls')
tlmgr_install(pkgs = 'ucasthesis.cls')
tlmgr_install(pkgs = 'tlnet')
bookdownplus::bookdownplus('ucas_zh',render = F)
bookdownplus::bookdownplus('ucas_zh')
bookdownplus::bookdownplus('ucas_zh')
tinytex::tlmgr_update()
library(tinytex)
remotes::install_github('yihui/tinytex')
library(tinytex)
tlmgr_search('zxxrl7z')
tlmgr_install('boondox')
library(tinytex)
tlmgr_search('openbox')
install.packages('huxtable')
huxtable::huxreg(fit)
fit <- lm(Sepal.Width ~ Petal.Length + Petal.Width, iris)
huxtable::huxreg(fit)
huxtable::huxreg(fit,bold_signif = T)
huxtable::huxreg(fit,bold_signif = 0.05)
library(huxtable)
fit %>% huxtable() %>% theme_article()
library(dplyr)
fit %>% huxtable() %>% theme_article()
fit %>% huxreg() %>% theme_article()
unlink('C:/Users/ASUS/Desktop/regression_result_cache', recursive = TRUE)
huxtable::install_latex_dependencies()
library(knitr)
kable(head(iris), booktabs = TRUE)
kable(head(iris), booktabs = TRUE,format = 'latex')
a = '
.
''
'
a = '\begin{tabular}{rrrrl}
'
a = '\begin{tabular}{rrrrl}
\toprule
Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
\midrule
a = '\\begin{tabular}{rrrrl}
\\toprule
Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
\\midrule
5.1 & 3.5 & 1.4 & 0.2 & setosa\\
4.9 & 3.0 & 1.4 & 0.2 & setosa\\
4.7 & 3.2 & 1.3 & 0.2 & setosa\\
4.6 & 3.1 & 1.5 & 0.2 & setosa\\
5.0 & 3.6 & 1.4 & 0.2 & setosa\\
\\addlinespace
5.4 & 3.9 & 1.7 & 0.4 & setosa\\
\\bottomrule
\\end{tabular}
'
print(a)
a
print(a)
eval(a)
?eval