R 官方文档

Resource

Related

Help

Help

  • ?.Machine
  • apropos("topic")
  • dir()
  • help.search("topic")
  • help.start()
  • help(topic)
  • ls.str()
  • ls()
  • methods(a)
  • methods(class=class(a))
  • str(a)
  • summary(a)

Input / Output

Input / Output

Data creation

Data creation

  • array(data, dims)
  • cbind(...)
  • data.frame(...)
  • factor(x, levels = )
  • gl(n, k, length = n*k, labels = 1:n)
  • list(...)
  • matrix(data, nrow = , ncol = , byrow = )
  • rbind(...)
  • rep(x, times)
  • seq(from, to, by = )
  • seq(from, to, len = )
  • с(...)