240 发简信
IP属地:广东
  • 向量的运算

    1、计算向量长度:length() 2、求和:sum() sum(..., na.rm = FALSE) 3、计算平均值:mean() mean(x, trim = 0, n...

  • 创建向量和矩阵

    创建向量和矩阵 1、新建向量:c() 2、新建连续有规则向量:seq() seq(from = 1, to = 1, by = ((to - from)/(length.ou...

  • R语言 字符串切割

    1. strsplit {base} 语法: strsplit(x, split, fixed = FALSE, perl = FALSE, useBytes = FALSE...

  • R语言 字符串拼接

    1. paste {base} 语法: paste (..., sep = " ", collapse = NULL)paste0(..., collapse = NULL)...