Publications by User

LGBTQ Network_211230_대학_비대학

30.12.2021

## [1] "C:/Users/distr/OneDrive/R FILE/network" 1990년대 2000년대 2010년대 2010년대 2 (value가 2이상인 node들의 네트워크) 2000년대 standardized betweeness 값이 1 이상 조직 뺀 뒤 2010년대 standardized betweeness 값이 1 이상 조직 뺀 뒤 ...

172 sym R (47 sym/1 pcs) 6 img

R_Intro_1_Data Import, Convert, Export, Save

13.01.2022

참고 링크 (https://data-make.tistory.com/47) (https://ordo.tistory.com/13) (https://haven.tidyverse.org/reference/read_dta.html) \(~\) 1. 워킹디렉토리 확인과 설정 1-1. 확인하기 getwd() ## [1] "C:/Users/distr/OneDrive/R FILE" 1-2. 경로 저장하기 setwd("C:/Users/distr/OneDrive/R FILE/r_Intro") 본 예제에서는 GSS 201...

1659 sym R (5412 sym/30 pcs)

Animal model

14.01.2022

This is a page for my R publications R Pubs. You can checkout some of my few code. Animal model example problem with R Consider the mixed linear equation below: \[\begin{equation}y=Xb+Zu+e\end{equation}\] Variance components sigma_e = 40 sigma_a = 20 alpha = sigma_e/sigma_a alpha ## [1] 2 Set working directory setwd("E:/R-MME") # print worki...

1056 sym R (7586 sym/40 pcs) 3 img

R_Intro_3_Dealing with Missing Values

15.01.2022

library(tidyverse) ## Warning: 패키지 'ggplot2'는 R 버전 4.1.2에서 작성되었습니다 ## Warning: 패키지 'tibble'는 R 버전 4.1.2에서 작성되었습니다 ## Warning: 패키지 'tidyr'는 R 버전 4.1.2에서 작성되었습니다 ## Warning: 패키지 'readr'는 R 버전 4.1.2에서 작성되었습니다 ## Warning: 패키지 ...

2557 sym R (16533 sym/112 pcs) 25 img

R_Intro_8_ggplot2 (1)

06.02.2022

오늘 사용할 데이터는 palmerpenguin::penguins library(palmerpenguins) library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.2.0 v stringr 1.4.0 ## v readr 2.1.2 v forcats 0.5.1 ## -- C...

375 sym R (3054 sym/20 pcs) 8 img

R_Intro_7_variable summary (2)

06.02.2022

이번에도 MASS 패키지 내 Cars93 데이터셋을 사용해보자. library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.2.0 v stringr 1.4.0 ## v readr 2.1.2 v forcats 0.5.1 ## -- Conflict...

1086 sym R (22084 sym/49 pcs)

Validation of genetic evaluations for categorical traits

03.02.2022

Important measures in genetic evaluations Accuracy Bias dispersion Accuracy This is the correlation between the estimated breeding value \((EBV)\) and the true breeding value \((TBV)\). values near 1 indicate strong associations while values near zero indicate weak associations. Weak associations imply that the animals are poorly ranked and s...

8987 sym

Genomic selection in small populations

03.02.2022

Genomic Selection in Small populations Julius Mugambe 2022-02-04 The accuracy of Genomic Predictions (GP) in small populations especially in developing countries and breeding companies is constrained by; terms of the structure of the reference and validation populations, response variables, genomic prediction models, validation methods. For...

3705 sym 2 img

R_Intro_10_Linear Regression Visualization

03.03.2022

library(tidyverse) library(palmerpenguins) 1. Linear Regression without interaction terms geom_smooth()는 기본적으로 회귀선을 그려준다. 그런데 multiple regression의 경우는 어떻게 해야할까? 즉 covariate가 2개 이상일 경우에는? step 1. covariates 포함된 multi linear regression lm_fit <- lm(bill_depth_mm ~...

909 sym R (4176 sym/20 pcs) 4 img

Network Figure_220225

25.02.2022

getwd() ## [1] "/Users/idlhy/Library/CloudStorage/OneDrive-개인/R FILE/network" rm(list=ls()) load("./network_220224.RData") library(tidygraph) library(ggraph) library(igraph) library(tidyverse) \(~\) 1990년대 linkdata_1990 <- read.csv("./network_1990_onemode.csv" , header = T #첫 행 변수명으로 ...

177 sym R (18872 sym/29 pcs) 6 img