Displaying 2 results from an estimated 2 matches for "blocc".
Did you mean:
block
2024 Jun 13
1
Create a numeric series in an efficient way
Maybe this was your solution?
blocC <- c(rep(x=c(1:13), times=84))
blocC <- arrange(.data = data.frame(blocC), blocC)
The second line sorts, but that may not be needed depending on application. The object class is also different in the sorted solution.
Tim
-----Original Message-----
From: R-help <r-help-bounces at r-projec...
2024 Jun 13
1
Create a numeric series in an efficient way
I apologize, I solved the problem, sorry for that.
f.
Il giorno gio 13 giu 2024 alle ore 16:42 Francesca PANCOTTO <
francesca.pancotto at 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 efficient way.
>
> This is my solution
>
> blocB <- c(rep(x = 1,