Displaying 4 results from an estimated 4 matches for "cvalues".
Did you mean:
values
2012 Jan 17
2
result numeric(0) when using variable1[which(variable2="max(variable2)"]
Dear all,
I have a question about the knowing for which row I have the max value of
one of my variables.
I calculated the Rsquared for different columns and made a list to gather
them. I unlisted this list to create a vector with this values. I want to
know for which column I have the max value of Rsquared.
The columns were always named in the same way. They always start with
results4$depth_
2012 Jan 11
3
Accomplishing a loop on multiple columns
Hello,
I have a question concerning ?for loops? on multiple columns.
I made 91 columns with results (all made together with a for loop) and I
want to us lm to fit the model.
I want to compare the results of all these calculated columns (91) with one
column with observed values. I use the function lm to fit the model and
calculate r.squared. I manage to do this for each column separately:
For
2012 Jun 08
0
Working with optim in C
...+
(1-par[i]*log(1-lambda[i]))); }
return sum;
}
void optimgr(int n, double *par, double *gr, void *ex)
{
for(int i = 0; i < n; i++) { gr[i] = log(par[i]) - log(1-par[i]); }
}
void Test(SEXP SomeValues)
{
PROTECT(SomeValues = AS_NUMERIC(SomeValues));
double * CValues = NUMERIC_POINTER(SomeValues);
void * optEx, *grEx, *overallEx;
int mask = -1, fncount, grcount, failed;
double *Fmax, *gradients;
int size = sizeof(CValues)/sizeof(double);
vmmin(size, CValues, Fmax,
optimfn,
optimgr,...
2017 Jul 10
1
Help documentation of "The Studentized range Distribution"
Well, it is clear enough that the problem is in interpreting the documentation. However, when you claim you tested something, and found it inconsistent with tables, it would be advisable to back it up with examples!
The description in the help files and in the sources is admittedly confusing. The original paper has this, rather more clear, description in the abstract:
"We consider the