apaData.Drop.Zeros.Rows(DataMatrix)
Excel
=apaData.Drop.Zeros.Rows(DataMatrix)Result
Drops all rows (joint observations) that contain a numeric zero.
Syntax
DataMatrix: n x m data matrix
Remarks
Only numeric zeros are dropped; text such as "0" and blank cells are kept. Blank cells in the remaining rows are shown as #N/A. If no row remains, #N/A is returned.
Related functions
apaData.DatatypesReturns the data type of each cell of a data matrix:apaData.Dates.Earliest.MonthReturns the first observation (complete row) of each calendar month.apaData.Dates.Earliest.QuarterReturns the first observation (complete row) of each calendar quarter.apaData.Dates.Earliest.WeekReturns the first observation (complete row) of each week (Monday to Sunday).apaData.Dates.Earliest.YearReturns the first observation (complete row) of each calendar year.apaData.Dates.Latest.MonthReturns the last observation (complete row) of each calendar month.apaData.Dates.Latest.QuarterReturns the last observation (complete row) of each calendar quarter.apaData.Dates.Latest.WeekReturns the last observation (complete row) of each week (Monday to Sunday).apaData.Dates.Latest.YearReturns the last observation (complete row) of each calendar year.apaData.Dates.Match.AJoins two data matrices on the Excel dates in their first columns and keeps all dates of the first matrix.apaData.Dates.Match.BJoins two data matrices on the Excel dates in their first columns and keeps all dates of the second matrix.apaData.Dates.Match.AandBJoins two data matrices on the Excel dates in their first columns and keeps only the dates found in both matrices.apaData.Dates.Match.AorBJoins two data matrices on the Excel dates in their first columns and keeps the dates found in either matrix.apaData.Digits.AfterReturns the number of decimal places of each number in a data matrix.apaData.Digits.BeforeReturns the number of digits before the decimal point of each number in a data matrix.apaData.GapsCalculates the size and frequency of gaps in data.apaData.Gaps.MatrixReplaces each non-numeric cell by the length of the gap it belongs to and each numeric cell by 0.apaData.nObs.BivariateReturns a matrix with the number of observations available for correlation calculations from jagged data: univariate numbers of observations on the main diagonal, bivariate joint observations on…apaData.nObs.JointReturns the number of joint observations in a jagged data matrix.apaData.nObs.Joint.DropSeriesReturns the number of joint observations when each series is dropped individually.apaData.nObs.Joint.DropObsReturns the number of joint observations if each observation is dropped individually.apaData.nObs.nTypes.ObservationsCounts the non-zero numbers, zeros, positive numbers, negative numbers, blanks, text, error values and logical values for each observation (row).apaData.nObs.nTypes.SeriesCounts the non-zero numbers, zeros, positive numbers, negative numbers, blanks, text, error values and logical values for each series (column).apaData.Proxy.CategoryAverageProxies series with category average values.apaData.RepeatsCalculates the size and frequency of repeats in data.apaData.Repeats.MatrixReplaces each cell that belongs to a repeat by the length of that repeat and all other cells by 0.
