Some data management Libraries for R

Library (magrittr)

Library (dplyr)



https://uc-r.github.io/pipe#:~:text=The%20compound%20assignment%20%25%25,and%20then%20assigning%20the%20result.&text=The%20exposition%20(%20%25%24%25%20)%20operator%20is,to%20some%20of%20the%20columns.




wrs%>%

extract(1:20,c("age", "edu")) %>%

head


or

wrs%>%

extract(1:20,1:2) %>%

head


Introduction to the Analysis of Survival Data in the Presence of Competing Risks

 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4741409/