Create a column that contains a count from 1 to the number of rows
Hi,here is another question:I sometimes want to create graphs where the x-axis is a count (as the row number), instead of column from the data table itself, for example time. Much like when doing a graph in Excel using the 'line' graph option. To do that I need an easy way to create a column which simple is the count or number of the row.In Base SAS it would be:data y;set x;nobs=_N_;run;which adds...