public class FactorTable extends Object
Constructor and Description |
---|
FactorTable()
Create an empty factor table
|
Modifier and Type | Method and Description |
---|---|
void |
addFactor(BetweenParticipantFactor factor)
Add a factor to the table
|
void |
addFactorCategory(BetweenParticipantFactor factor,
String category)
Add a category to the specified factor
|
void |
clear()
Clear the table
|
void |
deleteFactor(BetweenParticipantFactor factor)
remove a factor from the table
|
void |
deleteFactorCategory(BetweenParticipantFactor factor,
String category)
Remove the specified category from the factor
|
List<String> |
getColumn(int index)
Get the list of values for a single factor
|
List<String> |
getColumnLabels()
Get the predictor column labels
|
int |
getNumberOfColumns()
Get the number of factors
|
int |
getNumberOfRows()
Get the number of combinations of factors
|
void |
loadBetweenParticipantFactors(List<BetweenParticipantFactor> factorList)
Fill the factor table from a list of between participant factors.
|
public void loadBetweenParticipantFactors(List<BetweenParticipantFactor> factorList)
factorList
- list of between participant factorspublic void addFactor(BetweenParticipantFactor factor)
factor
- public void deleteFactor(BetweenParticipantFactor factor)
factor
- public void addFactorCategory(BetweenParticipantFactor factor, String category)
factor
- category
- public void deleteFactorCategory(BetweenParticipantFactor factor, String category)
factor
- category
- public int getNumberOfColumns()
public int getNumberOfRows()
public List<String> getColumn(int index)
index
- public void clear()
University of Colorado Denver, Department of Biostatistics and Informatics