Re: [R] Create a numeric series in an efficient way

2024-06-13 Thread avi.e.gross
quot;Smith" "Smith" "Smith" "Smith" "Jones" "Jones" "Jones" "Gunter" If that remains unclear, I am doing something wrong today. It is nice to see alternatives but some people just want one answer. Read my first mes

Re: [R] Create a numeric series in an efficient way

2024-06-13 Thread Bert Gunter
> already. > > > > > -Original Message- > From: R-help On Behalf Of Francesca PANCOTTO > via R-help > Sent: Thursday, June 13, 2024 10:42 AM > To: r-help@r-project.org > Subject: [R] Create a numeric series in an efficient way > > Dear Contributors >

Re: [R] Create a numeric series in an efficient way

2024-06-13 Thread avi.e.gross
o you may want to share what you chose already. -Original Message- From: R-help On Behalf Of Francesca PANCOTTO via R-help Sent: Thursday, June 13, 2024 10:42 AM To: r-help@r-project.org Subject: [R] Create a numeric series in an efficient way Dear Contributors I am trying to create a nume

Re: [R] Create a numeric series in an efficient way

2024-06-13 Thread Ebert,Timothy Aaron
Bert Gunter Sent: Thursday, June 13, 2024 9:13 PM To: Ebert,Timothy Aaron Cc: Francesca PANCOTTO ; r-help@r-project.org Subject: Re: [R] Create a numeric series in an efficient way [External Email] Nope. She would have wanted the 'each' argument = 84. See ?rep. -- Bert On Thu, Jun 13,

Re: [R] Create a numeric series in an efficient way

2024-06-13 Thread Bert Gunter
> To: r-help@r-project.org > Subject: Re: [R] Create a numeric series in an efficient way > > [External Email] > > I apologize, I solved the problem, sorry for that. > f. > > > > Il giorno gio 13 giu 2024 alle ore 16:42 Francesca PANCOTTO < > francesca.panco

Re: [R] Create a numeric series in an efficient way

2024-06-13 Thread Ebert,Timothy Aaron
rom: R-help On Behalf Of Francesca PANCOTTO via R-help Sent: Thursday, June 13, 2024 2:22 PM To: r-help@r-project.org Subject: Re: [R] Create a numeric series in an efficient way [External Email] I apologize, I solved the problem, sorry for that. f. Il giorno gio 13 giu 2024 alle ore 16:42 Fra

Re: [R] Create a numeric series in an efficient way

2024-06-13 Thread Francesca PANCOTTO via R-help
I apologize, I solved the problem, sorry for that. f. Il giorno gio 13 giu 2024 alle ore 16:42 Francesca PANCOTTO < francesca.panco...@unimore.it> ha scritto: > Dear Contributors > I am trying to create a numeric series with repeated numbers, not > difficult task, but I do not seem to find an e

[R] Create a numeric series in an efficient way

2024-06-13 Thread Francesca PANCOTTO via R-help
Dear Contributors I am trying to create a numeric series with repeated numbers, not difficult task, but I do not seem to find an efficient way. This is my solution blocB <- c(rep(x = 1, times = 84), rep(x = 2, times = 84), rep(x = 3, times = 84), rep(x = 4, times = 84), rep(x = 5, times = 84), re