Could you also add another option under the "dataset" command, e.g.
"dataset deleteobs <parameter>", where e.g. "dataset deleteobs 3, 5,
11-22"
would delete observations 3, 5 and 11-22 from the data set (i.e. from all
variables in the data set) and "dataset deleteobs x>0" would delete all
observations where x>0 from the dataset.
Thanks in advance, and thanks for a great software.
Andreas
cottrell(a)wfu.edu @ INTERNET skrev 2007-10-03 21:20:11 :
On Wed, 3 Oct 2007, andreas.rosenblad(a)ltv.se wrote:
> I would appreciate a gretl command where the values of all >
variables in a data set is sorted in ascending or descending > order
by one of the variables, and one then can save the data > set with
the new sorted ordering.
OK, you now have an additional option under the recently-added
"dataset" command. You can say
dataset sortby <varname>
or
dataset dsortby <varname>
to use descending order. There's a corresponding new GUI menu item
/Data/Sort data...
Allin.
-- Allin Cottrell
Department of Economics
Wake Forest University, NC
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel