Page 1 of 1

How to fill table

Posted: Tue Apr 18, 2023 4:56 am
by mkhaled
Hi,
I have created a table from scratch but having difficulty filling it with data. I already have multiple series in a group, all dated. I want to fill the table I created with them. What code could I use to do this. Also, if I want to add a row at the end of the table using different data, how would I fill it.

Re: How to fill table

Posted: Tue Apr 18, 2023 6:53 am
by EViews Gareth

Code: Select all

wfcreate m 1990 2020 series x=nrnd series y=nrnd group g x y table mytab 'assign a single value mytab(1,1) = "Test:" mytab(1,2) = 3 'freeze a series into a table freeze(tmptable) x.sheet 'insert a table into another (inserting tmptable into mytab at row 2, col 1) tmptable.copytable mytab 2 1 show tmptable