Last updated: 2022-11-16

Checks: 5 2

Knit directory: HoViet/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20221116) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

The following chunks had caches available:
  • load data
  • session-info-chunk-inserted-by-workflowr
  • unnamed-chunk-1
  • unnamed-chunk-2
  • unnamed-chunk-3
  • unnamed-chunk-4

To ensure reproducibility of the results, delete the cache directory Ho-Viet_cache and re-run the analysis. To have workflowr automatically delete the cache directory prior to building the file, set delete_cache = TRUE when running wflow_build() or wflow_publish().

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 2e19054. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .RData
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    Ho-Viet_files/
    Ignored:    analysis/Ho-Viet_cache/
    Ignored:    data/hoviet.RData

Unstaged changes:
    Modified:   analysis/Ho-Viet.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/Ho-Viet.Rmd) and HTML (docs/Ho-Viet.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html 0fd8625 duhongduc 2022-11-16 Update
Rmd ff2ed5d duhongduc 2022-11-16 Update
html 76f83fc duhongduc 2022-11-16 Update
html 613e25c duhongduc 2022-11-16 Update
html 3526a95 duhongduc 2022-11-16 Update

Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE) at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson for each individual chunk that is cached. Using either autodep or dependson will remove this warning. See the knitr cache options for more details.

Top Họ cả nước

Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE) at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson for each individual chunk that is cached. Using either autodep or dependson will remove this warning. See the knitr cache options for more details.

Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE) at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson for each individual chunk that is cached. Using either autodep or dependson will remove this warning. See the knitr cache options for more details.

Phân bố dòng họ tính đến xã

Phùng

Phùng (馮) là một họ cổ. Nó đứng thứ 27 trong danh sách các họ ở Trung Quốc đại lục ngày nay.

Họ Phùng có nguồn gốc xa xưa là dân du mục ở Tân Cương. Vào khoảng 4000 năm về trước họ Phùng xuất hiện ở vùng Thiểm Tây như một quốc gia. https://www.newton.com.tw/wiki/%E9%A6%AE%E5%A7%93 https://kknews.cc/history/qq4j2r.html

Có thể đã có một dòng người di cư vào khoảng hơn 3000 năm về trước theo dòng sông Thao về tới được khu vực mà nay là Phùng Nguyên. Có lẽ Phùng Nguyên là nơi được coi là phát tích của họ Phùng.

3000 năm về trước, Phùng Nguyên là một cái gò nhỏ ở cuối sông Thao trước khi gặp sông Đà. Theo thời gian do phù sa bồi lấp mà Phùng Nguyên trở thành đất liền. Ở đây người ta tìm thấy các di vật Nha Chương.

Dựa theo phân tích của Đức Dư về dòng họ ở Việt Nam https://duhongduc.shinyapps.io/HoViet/… chúng ta có thể nhận thấy họ Phùng ở khu vực ngay chân núi Ba Vì. Đây là vùng đất cổ và là nơi các cơn mưa từ Ba Vì đổ xuống gây ngập lụt. Đó có thể là cội nguồn của truyền thuyết Sơn Tinh Thủy Tinh.

Chúng ta có thể nhận thấy dòng họ Phùng chiếm vị trí sâu về phía chân núi, sau đó là họ Lý ở dải đất gần với biển hơn kéo dài từ vùng Đền Đô qua Từ Liêm, tiếp sau nữa là nhà Trần.

Đây có thể là sự hình thành ra cấu trúc không gian văn hóa vua Hùng (phụ hệ) trong tổng thể văn hóa mẫu hệ ở đồng bằng Bắc Bộ.

Phân bố tỉ lệ

Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE) at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson for each individual chunk that is cached. Using either autodep or dependson will remove this warning. See the knitr cache options for more details.

Phân bố mật độ

Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE) at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson for each individual chunk that is cached. Using either autodep or dependson will remove this warning. See the knitr cache options for more details.


R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] ggpubr_0.4.0      sf_1.0-8          viridis_0.6.2     viridisLite_0.4.1
 [5] lubridate_1.8.0   data.table_1.14.2 forcats_0.5.2     stringr_1.4.1    
 [9] dplyr_1.0.10      purrr_0.3.4       readr_2.1.3       tidyr_1.2.1      
[13] tibble_3.1.8      ggplot2_3.3.6     tidyverse_1.3.2   markdown_1.1     
[17] knitr_1.40        rmarkdown_2.18   

loaded via a namespace (and not attached):
 [1] fs_1.5.2            httr_1.4.4          rprojroot_2.0.3    
 [4] tools_4.2.1         backports_1.4.1     bslib_0.4.1        
 [7] utf8_1.2.2          R6_2.5.1            KernSmooth_2.23-20 
[10] DBI_1.1.3           colorspace_2.0-3    withr_2.5.0        
[13] tidyselect_1.1.2    gridExtra_2.3       compiler_4.2.1     
[16] git2r_0.30.1        cli_3.4.1           rvest_1.0.3        
[19] xml2_1.3.3          labeling_0.4.2      sass_0.4.2         
[22] scales_1.2.1        classInt_0.4-8      proxy_0.4-27       
[25] digest_0.6.29       pkgconfig_2.0.3     htmltools_0.5.3    
[28] highr_0.9           dbplyr_2.2.1        fastmap_1.1.0      
[31] rlang_1.0.6         readxl_1.4.1        rstudioapi_0.14    
[34] farver_2.1.1        jquerylib_0.1.4     generics_0.1.3     
[37] jsonlite_1.8.3      car_3.1-0           googlesheets4_1.0.1
[40] magrittr_2.0.3      s2_1.1.0            Rcpp_1.0.9         
[43] munsell_0.5.0       fansi_1.0.3         abind_1.4-5        
[46] lifecycle_1.0.2     stringi_1.7.8       whisker_0.4        
[49] yaml_2.3.6          carData_3.0-5       grid_4.2.1         
[52] promises_1.2.0.1    crayon_1.5.2        haven_2.5.1        
[55] hms_1.1.2           pillar_1.8.1        ggsignif_0.6.3     
[58] codetools_0.2-18    wk_0.6.0            reprex_2.0.2       
[61] glue_1.6.2          evaluate_0.18       modelr_0.1.9       
[64] vctrs_0.4.2         tzdb_0.3.0          httpuv_1.6.6       
[67] cellranger_1.1.0    gtable_0.3.1        assertthat_0.2.1   
[70] cachem_1.0.6        xfun_0.34           broom_1.0.1        
[73] e1071_1.7-11        rstatix_0.7.0       later_1.3.0        
[76] class_7.3-20        googledrive_2.0.0   gargle_1.2.1       
[79] workflowr_1.7.0     units_0.8-0         ellipsis_0.3.2     

Warning: The above code chunk cached its results, but it won’t be re-run if previous chunks it depends on are updated. If you need to use caching, it is highly recommended to also set knitr::opts_chunk$set(autodep = TRUE) at the top of the file (in a chunk that is not cached). Alternatively, you can customize the option dependson for each individual chunk that is cached. Using either autodep or dependson will remove this warning. See the knitr cache options for more details.