public class CumSum
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addByVariable(java.lang.String varname)
Each unique combination of by-variables will
result in a subset of data over which calculations
will be performed.
|
void |
addResponseVariable(java.lang.String varname,
java.lang.String outvar)
Add a variable over which to perform the operation.
|
boolean |
getIgnoreNaN() |
DataSet |
getN()
Return the cummulative number of entries composing each sum.
|
DataSet |
getResult() |
void |
removeByVariable(java.lang.String varname)
Removes the variable as a "by-variable."
|
void |
removeResponseVariable(java.lang.String varname)
Removes the variable as a response variable.
|
void |
run()
The mean over each unique combination of the "by-variables".
|
void |
setIgnoreNaN(boolean x) |
public CumSum(DataSet S)
public DataSet getResult()
public void setIgnoreNaN(boolean x)
public boolean getIgnoreNaN()
public void addByVariable(java.lang.String varname)
public void addResponseVariable(java.lang.String varname, java.lang.String outvar)
public void removeByVariable(java.lang.String varname)
public void removeResponseVariable(java.lang.String varname)
public DataSet getN()
public void run()
Copyright © 2011, 2013. Daniel P. Dougherty