Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Utility to reduce vector length by a given number of elements


From   Rachel <[email protected]>
To   statalist <[email protected]>
Subject   st: Utility to reduce vector length by a given number of elements
Date   Thu, 8 Mar 2007 11:12:57 -0500

Is there a Stata (rather than Mata) utility that will remove the last
n elements of a vector?  Is there some way of doing this without
explicitly without knowing (or evaluating) the length of the vector?

Thanks,
Rachel
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index