2019.1.21-2019.1.27 这周总体上来说是平淡的一周,积极地层面有些,如带父母吃了新式的餐厅,和许久不见的朋友一起聊天唱k;相对颓...
2019.1.14-2019.1.20 受今天看的Kris的文章的启发,准备开始写周记,复盘一周做了什么:有哪些做的好的地方(受Prof. Ta...
# Import the math package import math as math # Calculate C C = 2*math.p...
# Apply gather() to bmi and save the result as bmi_long library(tidyr) b...
# Define troublesome x and y x <- c(NA, NA, NA) y <- c( 1, NA, NA, NA) b...
# Define safe_readLines() safe_readLines <- safely(readLines) # Use the ...
# Define example vector x x <- 1:10 # Define rng rng <- range(x, na.rm =...
# Define ratio() function ratio <- function(x, y) { x/y } # Cal ratio() ...
haven is an extremely easy-to-use package to import data from three soft...