|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RWrapper
User: Edoardo M. Airoldi (eairoldi@cs.cmu.edu) Date: Feb 22, 2005
Method Summary | |
---|---|
double[] |
dnorm(double[] t,
double mu,
double sd,
java.lang.String string)
Evasluates a Gaussian density (mean = mu, standard deviation = sd) at each element of the vector t |
double |
dnorm(double t,
double mu,
double sd,
java.lang.String string)
Evasluates a Gaussian density (mean = mu, standard deviation = sd) at t |
void |
end()
Teminates the REngine |
double[] |
rbinom(int n,
double mu,
double delta)
Genrates a vector of n doubles distributed according to a Binomial with parameters: mu = mu and delta = delta |
double[] |
rnbinom(int n,
double mu,
double delta)
Genrates a vector of n doubles distributed according to a Negative-Binomial with parameters: mu = mu and delta = delta |
double[] |
rnorm(int n,
double mu,
double sd)
Genrates a vector of n doubles distributed according to a Gaussian with: mean = mu and standard deviation = sd |
double[] |
runif(int n,
double min,
double max)
Genrates a vector of n doubles distributed according to a Uniform with range: min = min and max = max |
Method Detail |
---|
void end()
double[] rnorm(int n, double mu, double sd)
double[] runif(int n, double min, double max)
double[] rbinom(int n, double mu, double delta)
double[] rnbinom(int n, double mu, double delta)
double[] dnorm(double[] t, double mu, double sd, java.lang.String string)
double dnorm(double t, double mu, double sd, java.lang.String string)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |