Displaying 2 results from an estimated 2 matches for "mycrit".
Did you mean:
ycrit
2006 Oct 30
2
which duplicated rows to delete
...t;x<-c(1,2,3,4,2,6,2,8,2,3)
>which(duplicated(x))
[1] 5 7 9 10 11
But what I realy want is somthing like:
List({2,5,7}, {3,10}, ...)
Then from each sublist I can specify which of the duplicate items to drop
res<-NULL
for(vec in myDuplicateList)
res<-rbind(res, subset(data[vec,], myCrit))
I'll get some of the way by sorting my original data appropriately, as it's
the second and following rows that are 'marked' as duplicates, but that's
not quite enough
Hope for some hints
Kind regards S?ren
2010 Nov 08
1
try (nls stops unexpectedly because of chol2inv error
...seq(2.85,2.95,length.out=21);
#B = seq(2.8,3.0,length.out=21);
B = seq(2.5,3.2,length.out=21);
D = seq(0.02,0.04,length.out=21);
T = seq(165,185,length.out=21);
alpha = .05;
nu = k; ## number of parameters
tr = L-1; ## number of treatments (including control)
rho = 1/(1+r); ## dependency parameter
myCritical = qmvchi(alpha,nu,tr,rho);
## we change one parameter at a time until the results fail most of the
time.
## do independent for now, but let's store the parameters and quantiles???
INFO for one location
# beta delta tau nsim %Reject(V.pooled) %Reject(V.total) [Simulation level]
resultS
#...