Displaying 5 results from an estimated 5 matches for "lanikpeter".
2009 Feb 24
4
bigest part of vector
Hi, may be simle question, but a do not find it anywhere.
Is there same function like max() ,but giving more results.
max() give 1number-maximum
I need funcion what give p bigest number.
many thanks
--
View this message in context: http://www.nabble.com/bigest-part-of-vector-tp22188901p22188901.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jun 09
1
counting across leves of factors
I have dataframe with 17factors variables (for example every factor have
3levels)
I have maybe 5000 observation.
And i need to do table where is in every raw 1 of possible combination of
this factors and the numbur how many time is this combination in my dataset.
I wrote one code, but this is very slow and dumb.
it looks like this:
i<-0
for(i1 in levels(hivdat$pohl)){
2010 Jul 02
0
GMM with covariance moment condicion
hello
I have covariance stacionary proces, and i want to estimate some parameter
of this proces via gmm.
My problem is with write "g" -function.
0 order autocovariance is not problem
1 and higher order autocavariance are problem, because add order from 0 mean
that I "loose" one "observacion"
if I have 100 observation and i am going to use mean, variance and first
2009 Feb 27
3
rounding problem
hi i am creating some variables from same data, but somewhere is different
rouding.
look:
P = abs(fft(d.zlato)/480)^2
hladane= sort(P,decreasing=T)[1:10]/480
pozicia=c(0,0,0,0,0)
for (j in 1:5){ for (i in 2:239){
if (P[i]/480==hladane[2*j-1]){pozicia[j]=i-1}}}
period=479/pozicia
> P[2]/334
[1] 0.0001279107
> hladane[1]
[1] 0.0001279107
> P[2]/334==hladane[1]
[1]
2010 May 02
3
help with tapply or other apply
Hi, my data looks this:
id forma program kod obor
rocnik
1 10001 kombinovan? Matematika M1101 matematika 1
2 10002 prezen?n? Informatika N1801 teoretick? informatika 1
3 10002 prezen?n? Informatika B1801 obecn? informatika 3
4 10003 prezen?n? Informatika M1801 softwarov?