[Gretl-devel] Regarding the dataset command (Was: Feature request
for sorting of variables)
andreas.rosenblad at ltv.se
andreas.rosenblad at ltv.se
Thu Oct 4 02:56:23 EDT 2007
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 at wfu.edu @ INTERNET skrev 2007-10-03 21:20:11 :
> On Wed, 3 Oct 2007, andreas.rosenblad at 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 at lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-devel
More information about the Gretl-devel
mailing list