Package ubic.basecode.math.linearmodels
Class GenericAnovaResult
- java.lang.Object
-
- ubic.basecode.util.r.type.AnovaResult
-
- ubic.basecode.math.linearmodels.GenericAnovaResult
-
- All Implemented Interfaces:
Serializable
public class GenericAnovaResult extends AnovaResult implements Serializable
A generic representation of an R-style ANOVA table, including interactions.- Author:
- paul
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ubic.basecode.util.r.type.AnovaResult
residualDf
-
-
Constructor Summary
Constructors Constructor Description GenericAnovaResult(Collection<AnovaEffect> effects)GenericAnovaResult(org.rosuda.REngine.REXP rAnovaTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetInteractionEffectF()DoublegetInteractionEffectP()DoublegetInteractionEffectP(String... factorNames)DoublegetMainEffectDof(String factorName)DoublegetMainEffectF(String factorName)Collection<String>getMainEffectFactorNames()DoublegetMainEffectP(String factorName)booleanhasInteractions()StringtoString()-
Methods inherited from class ubic.basecode.util.r.type.AnovaResult
equals, getKey, getResidualDf, hashCode, setKey
-
-
-
-
Constructor Detail
-
GenericAnovaResult
public GenericAnovaResult(Collection<AnovaEffect> effects)
- Parameters:
effects-
-
GenericAnovaResult
public GenericAnovaResult(org.rosuda.REngine.REXP rAnovaTable)
- Parameters:
rAnovaTable- from R call to 'anova(...)'
-
-
Method Detail
-
getInteractionEffectF
public Double getInteractionEffectF()
-
getInteractionEffectP
public Double getInteractionEffectP()
-
getInteractionEffectP
public Double getInteractionEffectP(String... factorNames)
- Parameters:
factorNames- e.g. f,g- Returns:
-
getMainEffectFactorNames
public Collection<String> getMainEffectFactorNames()
- Returns:
- names of main effects factors like 'f', 'g'.
-
hasInteractions
public boolean hasInteractions()
-
-