[R] Function of "matrix"
Bert Gunter
bgunter@4567 @end|ng |rom gm@||@com
Thu Oct 22 21:04:52 CEST 2020
1. Answers on this list are from volunteers who are not part of any R
project team. We have no official status and what we say comes with no
guarantees.
2. There is no such thing as a "matrix 'environment' ".
3. The answer to your question is "computer arithmetic." See FAQ 7.31.
Someone may follow up with a more specific answer for your particular
calculation, however.
Cheers,
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Oct 22, 2020 at 11:41 AM 奈良県奈良市 <jaajikan using gmail.com> wrote:
> 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]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list