fnz function

Utility function

Utility function

Return the index of first non-zero observation of a variable.

fnz(y)

Arguments

  • y: variable vector

Returns

The index of first non-zero value.

Author(s)

Washington Leite Junger wjunger@ims.uerj.br

Note

This function is not intended to be called directly.

See Also

pgam

  • Maintainer: Washington Junger
  • License: GPL-3 | file LICENSE
  • Last published: 2022-08-19

Useful links