Displaying 3 results from an estimated 3 matches for "unik".
Did you mean:
uni
2012 Aug 28
5
return first index for each unique value in a vector
I would like to efficiently find the first index of each unique value in a
very large vector.
For example, if I have a vector
A<-c(9,2,9,5)
I would like to return not only the unique values (2,5,9) but also their
first indices (2,4,1).
I tried using a for loop with which(A==unique(A)[i])[1] to find the first
index of each unique value but it is very slow.
What I am trying to do is easily
2006 Aug 18
1
User and sessions
When tracking a user is it correct to use the session user and id ?
In other words if a user logs in and wants to display all of their
records would one of the find conditions be session[id] ?
TIA
Stuart
2004 Jan 29
5
Question(s) for the programming gurus
Hi all.
I''m quite new to the concepts of the "traffic control" framework, and
I''ve got a programming-related question. Hopefully someone has the answer...
Is it possible, either for the device driver itself or for a userspace
program, to get information about how many packets are currently queued
for a given network interface?
Let''s describe it a little