EDOBE XDOM PMML Manuale Utente Pagina 92

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 98
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 91
92
getCountNA returns the number of NA values read. getCountOK returns
the number of non-
NA values read.
CNKProcCount::
int getColumnNumLevels(int colNum);
const char* getColumnLevelName(int colNum,
int levelNum);
INT64 getColumnLevelCount(int colNum, int levelNum);
int getColumnLevelInt(int colNum, int levelNum);
After some input rows have been processed, these methods can be
used to get the accumulated counts for each factor level of a factor
column.
getColumnNumLevels returns the number of factor levels that have
been accumulated for the given column. If it is not a factor column,
then it would return
0. This only returns the number of factor levels
that have been encountered: this may be less than the number
defined for this column, as given by
CNKBuf::getNumLevels. NA
values are also accumulated as a separate level, and included in this
count, whether or not
NAs appear in the data.
getColumnLevelName returns the string name associated with the
specified level number for this column. If the "level" is the special
level for
NAs, this returns "NA".
getColumnLevelCount returns the number of data rows that contain
the factor level
levelNum for the given column.
[## Describe getColumnLevelInt ##]
CNKProcCount::
void setCrossIndex(int crossNum, int levelNum);
INT64 getCrossCount();
After some input rows have been processed, these methods can be
used to get the accumulated crosstab counts. Each of these counts is
specified by a particular combination of factor levels for all of the
crosstab columns. Each count is retrieved by setting the desired
column factor level for each crosstab column (by calling
setCrossIndex), and then calling getCrossCount to retrieve a single
count.
Vedere la pagina 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 98

Commenti su questo manuale

Nessun commento