public class RFactor extends Object
| Constructor and Description |
|---|
RFactor()
create a new, empty factor var
|
RFactor(int[] i,
String[] v)
create a new factor variable, based on the supplied arrays.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String v)
add a new element (by name)
|
String |
at(int i)
returns name for a specific ID
|
int |
size()
returns the number of caes
|
String |
toString()
displayable representation of the factor variable
|
public RFactor()
public RFactor(int[] i,
String[] v)
i - array of IDs (0..v.length-1)v - values - category namesCopyright © 2017. All rights reserved.