|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthalo.data.biascorrection.LoessRegression
halo.data.biascorrection.RLoessRegression
public class RLoessRegression
Performs a local approximating regression for a data file with R
Constructor Summary | |
---|---|
RLoessRegression(java.lang.String path,
java.lang.String input,
java.lang.String[] spots)
Constructs a new object for local approaximating regression with R |
Method Summary | |
---|---|
java.util.HashMap<java.lang.String,java.lang.Double> |
calculateLoessRegression()
Starts the calculation of the fitted values with R |
void |
readRResults()
Reads the R output from the file and returns the fitted values |
void |
setFileName(java.lang.String fileName)
Sets the file name of the script file |
void |
writeRScript()
Writes an R script that starts the calculation and writes the output into a file |
Methods inherited from class halo.data.biascorrection.LoessRegression |
---|
setInputFile |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RLoessRegression(java.lang.String path, java.lang.String input, java.lang.String[] spots)
path
- The path of the local R installationinput
- The name of the input file that holds the dataMethod Detail |
---|
public void writeRScript()
public void readRResults()
public java.util.HashMap<java.lang.String,java.lang.Double> calculateLoessRegression()
calculateLoessRegression
in class LoessRegression
public void setFileName(java.lang.String fileName)
fileName
- The name of the script file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |