|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(String name,
String type)
|
|
| Method Summary | |
|---|---|
String |
getCall()
Get call-statement of the model. |
String |
getData()
Get data name of model. |
String |
getFamily()
Get family type of model. |
Vector |
getInfo()
Get information about this model: name, data, type, family, degree-of-freedom, r-square, aic, deviance. |
String |
getName()
Get the name of the model. |
String |
getToolTip()
Get tooltip-text implementation, shows the call statement. |
String |
getTypeName()
Get the type of the model, like lm, glm. |
void |
setAic(double a)
Set AIC value of model. |
void |
setCall(String call)
Set the call statement from R concerning the model. |
void |
setData(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(String f)
Set family name of model, needed with glm-models: binomial, poisson .... |
void |
setFstat(double f)
Set F-statistic value of model. |
void |
setRsquared(double r)
Set r-square value of the model. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RModel(String name,
String type)
| Method Detail |
|---|
public String getTypeName()
public String getName()
public void setCall(String call)
call - call-statementpublic String getCall()
public 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 setFstat(double f)
f - F-statistic valuepublic void setFamily(String f)
f - family namepublic String getFamily()
public void setData(String d)
d - data namepublic String getData()
public Vector getInfo()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||