
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...