|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.JGR.robjects.RModel
public class RModel
RModel - This is a simple java-representation of a model in R (currently only lm and glm are implemented) providing several information.
Constructor Summary | |
---|---|
RModel(java.lang.String name,
java.lang.String type)
|
Method Summary | |
---|---|
java.lang.String |
getCall()
Get call-statement of the model. |
java.lang.String |
getData()
Get data name of model. |
java.lang.String |
getFamily()
Get family type of model. |
java.util.Vector |
getInfo()
Get information about this model: name, data, type, family, degree-of-freedom, r-square, aic, deviance. |
java.lang.String |
getName()
Get the name of the model. |
java.lang.String |
getToolTip()
Get tooltip-text implementation, shows the call statement. |
java.lang.String |
getTypeName()
Get the type of the model, like lm, glm. |
void |
setAic(double a)
Set AIC value of model. |
void |
setCall(java.lang.String call)
Set the call statement from R concerning the model. |
void |
setData(java.lang.String d)
Set data name of model, which means the data the model is based on. |
void |
setDeviance(double d)
Set deviance value of model. |
void |
setDf(int df)
Set degree of freedom value of model. |
void |
setFamily(java.lang.String f)
Set family name of model, needed with glm-models: binomial, poisson .... |
void |
setRsquared(double r)
Set r-square value of the model. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RModel(java.lang.String name, java.lang.String type)
Method Detail |
---|
public java.lang.String getTypeName()
public java.lang.String getName()
public void setCall(java.lang.String call)
call
- call-statementpublic java.lang.String getCall()
public java.lang.String getToolTip()
public void setRsquared(double r)
r
- r-square valuepublic void setDeviance(double d)
d
- deviance valuepublic void setDf(int df)
df
- degree of freedom valuepublic void setAic(double a)
a
- AIC valuepublic void setFamily(java.lang.String f)
f
- family namepublic java.lang.String getFamily()
public void setData(java.lang.String d)
d
- data namepublic java.lang.String getData()
public java.util.Vector getInfo()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |