Help us understand the problem. What is going on with this article?

R言語の基礎

More than 1 year has passed since last update.

文法基礎メモ

配列

> matrix(1:12, 3, 4)
     [,1] [,2] [,3] [,4]
[1,]    1    4    7   10
[2,]    2    5    8   11
[3,]    3    6    9   12

グラフ

x <- rnorm(100, mean=0, sd=1) #平均100、標準偏差1の乱数を100個生成

plot(x) #描画
hist(x)

ファイルの読み込み・書き込み

read.csv("test.csv")
write.csn(x, "test.csv")
tjn0721
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away