Skip to content

Commit

Permalink
fixed small issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hcp4715 committed Feb 22, 2024
1 parent ab1c4ed commit 2e26873
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 31 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.Rhistory
.RData
.Ruserdata
*.Rproj

.DS_Store
*/.DS_Store
Expand Down
13 changes: 13 additions & 0 deletions R4PsyBook.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 6
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX
12 changes: 6 additions & 6 deletions bookdown_files/Books/Book/.Rhistory
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
}#与第二个{对应的}构成次外层代码块的结尾
return(sum)
}#与第一个{对应的}构成最外层代码块的结尾
sum <- 0
#variable i sequence 1:100
for (i in 1:100) {#statement
sum <- sum + i
}
print(sum)
Expand Down Expand Up @@ -510,3 +504,9 @@ starts_with("SNI"),
# 这些包含原始题目的数据集,将在SEM lavaan中直接使用
DT::datatable(head(df.pg.raw, 10),
fillContainer = TRUE, options = list(pageLength = 5))
bookdown::publish_book(name = NULL, account = NULL, server = NULL,
render = c("none", "local", "server"))
bookdown::publish_book(name = "R4PsyBook", account = NULL, server = NULL,
render = c("none", "local", "server"))
bookdown::publish_book(name = "R4PsyBook", account = NULL, server = NULL,
render = c("none", "local", "server"))
2 changes: 1 addition & 1 deletion bookdown_files/Books/Book/_bookdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
book_filename: 'CBook'
book_filename: 'R4PsyBook'
output_dir: "_book"
output: bookdown::gitbook
site: bookdown::bookdown_site
Expand Down
2 changes: 1 addition & 1 deletion bookdown_files/Books/Book/index.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "R语言在心理学研究中的应用: 从原始数据到可重复的论文手稿"
title: "R语言在心理学研究中的应用: 从原始数据到可重复的论文手稿(V1)"
author: "胡传鹏"
date: "2023年1月5日"
site: bookdown::bookdown_site
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ account: hcp4715
server: bookdown.org
hostUrl: https://bookdown.org/__api__
appId: 13774
bundleId: 93856
bundleId: 93859
url: https://bookdown.org/hcp4715/R4PsyBook/
version: 1

This file was deleted.

0 comments on commit 2e26873

Please sign in to comment.