Re: [R] "for" loop does not work with my plot_ly command

2021-03-30 Thread Mika Hamari
Lähetetty Samsung Galaxy -älypuhelimesta. Alkuperäinen viesti Lähettäjä: Rachida El Ouaraini Päivämäärä: 30.3.2021 12.25 (GMT+02:00) Saaja: Mika Hamari Kopio: r-help@r-project.org Aihe: Re: [R] "for" loop does not work with my plot_ly command Hi Mika, and thank you very

Re: [R] "for" loop does not work with my plot_ly command

2021-03-29 Thread Mika Hamari
Hi! I am also learning, but I want try to help. I often use for-loop in R. I think that it could be due to dimensions of CPM, not the structure of the loop. What kind of error message do you get? Is it: �incorrect number of dimensions�? What happens if you substitute in the end instead of CPM[i

Re: [R] seed problem?

2021-03-29 Thread Mika Hamari
exist, random numbers are random. Mika L�hett�j�: Bill Dunlap<mailto:williamwdun...@gmail.com> L�hetetty: maanantai 29. maaliskuuta 2021 18.56 Vastaanottaja: Mika Hamari<mailto:mika.hamar...@outlook.com> Kopio: r-help@r-project.org<mailto:r-help@r-project.org> Aihe: Re: [R] seed p

Re: [R] seed problem?

2021-03-29 Thread Mika Hamari
-help@r-project.org, Mika Hamari , r-help@r-project.org Aihe: Re: [R] seed problem? Check if you have a .RData file in your R startup directory. It may contain the seed. .RData files (without anything in front of the period) are dangerous... many R users avoid them because they can easily drag

[R] seed problem?

2021-03-29 Thread Mika Hamari
know the function set.seed(), but I wonder, how in the first place seed can be every time same, if you don�t set it to be. What I read about seeds, this should be very highly improbable occurence. Thanks to all developers for what they are doing for common good. I love R! Mika Hamari