Statalist The Stata Listserver


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

st: Function that returns variable type (string, etc.)?


From   Rachel <academicgirl@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Function that returns variable type (string, etc.)?
Date   Fri, 17 Nov 2006 10:09:55 -0500

I'm looking for a function that returns the type of a given variable.
Specifically, I'd like to know if each variable in a list is a string
or not.

This seems fairly obvious, but I couldn't find it in the documentation
under "Format" or any of the related entries.

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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index