Hi Artur,
Thanks. It works. The willingness of Gretl expert users to help beginners is
really amazing. Thanks once again.
Regards,
Cruz
-----Mensaje original-----
De: Artur Tarassow [mailto:atecon@posteo.de]
Enviado el: sábado, 25 de mayo de 2019 11:13
Para: gretl-users(a)gretlml.univpm.it
Asunto: [Gretl-users] Re: delete variables
Hi Cruz,
Am 25.05.19 um 11:08 schrieb cruz.echevarria(a)ehu.eus:
Dear Gretl Community,
In the hope that my question is not too silly: Is there a specific command
to keep
a subset of variables and discard the rest?
No, no silly question at all.
I have large number of variables in my data set, but I only need a
small
subset of them. I find that using the "delete" command works, but
inefficiently: it would be much easier just so save/keep/maintain/... the
small number of variables I am interested in. In other words, is there a
complementary command to "delete"?
Try this
<hansl>
open denmark.gdt -q
list keep = LRM IBO
list drop = dataset - keep
delete drop
</hansl>
Best,
Artur
_______________________________________________
Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
Website:
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/