Displaying 5 results from an estimated 5 matches for "task3".
Did you mean:
task
2012 Nov 07
1
Newbie question : selecting subset of a Matrix
I have a matrix, I would like to use it like I use where query on an SQL table
Let's say my matrix is
> wok
who task
1 joe task1
2 joe task2
3 joe task3
4 jack task1
5 jack task2
I want to extract a matrix that contains only rows where
who = "joe" and task != "task2"
The result would be the following matrix
1 joe task1
2 joe task3
How can I do that with R ?
2011 Apr 10
1
Help with basic loop
...mmend
that you draw a random number for every iteration of the loop. Defining the
random vectors outside the loop make sense to me only if they are the same
length as n.
prob<-numeric(1000)
for (n in 1:1000) {
task1 <- runif(1, min=0.8, max= 0.9)
task2 <- runif(1, min=0.75, max= 0.85)
task3 <- runif(1, min=0.81, max= 0.89)
prob[n]<-task1*task2*task3
}
If you wanted to store the individual probabilities (task1..3), you would
proceed accordingly by defining them outside the loop and storing the value
in the loop as the n-th element of that vector just like for prob.
HTH,
Daniel...
2007 Feb 05
0
simple rights question
Dear all,
I got the following situation, a share called "Bureaus", with the follwong
subdirs:
/Bureaus/A
/Bureaus/B
/Bureaus/C
etc.
where A,B,C.. are the bureau names
under all the bureau names are directories:
A/Task1
A/Task2
A/Task3
A/Archive
For all the bureau names.
Groups: everyone is a member of "Domain Users", and that's
always the primary group.
And, a group A, a group B etc, and groups "Task1 A", Task1 B"..."Task2
A" etc.
The simple idea is to give everyone access to Bureaus, o...
2007 Feb 08
0
simple right question
Dear all,
I got the following situation, a share called "Bureaus", with the follwong
subdirs:
/Bureaus/A
/Bureaus/B
/Bureaus/C
etc.
where A,B,C.. are the bureau names
under all the bureau names are directories:
A/Task1
A/Task2
A/Task3
A/Archive
For all the bureau names.
I've got groups, a groups, everyone is a member of "Domain Users", and that's
also always the primary group.
And, a group A, a group B etc, and groups "Task1 A", Task1 B"..."Task2 A" etc.
The simple idea is to give ev...
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
...''Project2'' => nil,
''Project3'' => {
''task1'' => nil,
''task2'' => nil,
''task3'' => nil
}
},
''Contract3'' => {
''Project1'' => nil
},
''Contract4'' => nil,
''Contract5'' => nil,
'...