Create row with an incremental index

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
jofen
Posts: 1
Joined: Wed Jun 05, 2024 8:34 am

Create row with an incremental index

Post by jofen »

Hi!
I want to create a row and populate it with an incremental serie of numbers. Number 1 on the first row, 2 on the second row, and so on. Is there an easy way to do that?
User avatar
jonathon
Posts: 2840
Joined: Fri Jan 27, 2017 10:04 am

Re: Create row with an incremental index

Post by jonathon »

use a computed variable, and use the ROW() function

jonathon
Post Reply