Skip to content
Back to formatted view

Raw Message

Message-ID: <CAEN3HwdHfbZzyTA6tWF5Br1nn_-i7Z73zjH7xacv=ep=wZBP0A@mail.gmail.com>
Date: 2020-10-22T07:23:29Z
From: 奈良県奈良市
Subject: Function of "matrix"

Dear R project team

I used the function of "matrix" as follows:
matrix(c(1:3030), 10.1/0.1)
However, in the function, matrix, 10.1/0.1 was regarded as 100 not as 101.
Therefore, a warning message appeared.
On the other hand, matrix(c(1:3030), 101) or matrix(c(1:3030), 10.1*10) was
OK. Of course, simply, 10.1/0.1 was successfully calculated. However,
In the "matrix" environment, 10.1/0.1 was calculated as 100.

Would you give me some answers?

Sincerely

Kazuki Sakura

	[[alternative HTML version deleted]]