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.
How to fill table
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to fill table
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
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 50 guests