PRTools contents |
MISVAL
B = MISVAL(A,VAL)
B = A*MISVAL([],VAL)
Input | |
A | Dataset, containing NaNs (missing values) |
VAL | String with substitution option or value used for substitution |
The following values for VAL are possible
'remove' remove objects (rows) that contain missing values (default) 'f-remove' remove features (columns) that contain missing values 'mean' fill the entries with the mean of their features 'c-mean' fill the entries with the class mean of their features
PRTools contents |