Hello,
My program calculates several variables at each iteration and some of them are
integers and the rest are numeric. When I save them into a matrix, all of them
are of numeric type, of course.
I'm trying to find a way to save time/memory of my program and I was thinking
that it might help
Hello
I'm trying to solve two sets of equations (each set has four equations and
all of them share common parameters) with nlminb procedure. I
minimize one set and use their parameters as initial values of other set,
repeating this until their parameters become very close to each other.
I have
Hello list,
I found that system.time works correctly when I used - to assign a
value to a variable but when I happened to use = instead of -, R
gave an error message:
Error in system.time(your argument here...). It happened with a few
functions I tried. Is this a bug or is there any circumstances
Hello,
I wrote a program to convert normal distribution to trinomial
distribution (three levels=0,1,2). But the first function I wrote
(convert.to.trinom1) converts everything to 2. When I changed it
slightly (convert.to.trinom2), it works correctly (ie. converts to
0,1, or 2). I cannot figure
Can anyone help me with lbfgsb (function for optimization)?
It takes the following parameters:
void lbfgsb (int n, int lmm, double *x, double *lower,
double *upper, int *nbd, double *Fmin, optimfn fn,
optimgr gr, int *fail, void *ex, double factr,
double pgtol, int *fncount, int *grcount,
int
Hello,
I'm having trouble in using assign(paste ... command . I could create
several dataframes following trinomial distribution using it but it could
not be used to check their row means of the created dataframe.
For example, the following works:
probTrt=matrix(0,4,3);
probTrt;
#malf, death,
6 matches
Mail list logo