Displaying 4 results from an estimated 4 matches for "toktar".
Did you mean:
loktar
2008 Jul 21
0
optimize function help!!
...;c" and limits to p1 and p2 probabilities
(Consumer and Producer).
The optimize I could define only using the p1 point, because the "n" and "c"
values, are integers and I couldn?t run the example like in mathematica.
Could anyone help me
Thank you very much.
Emir Toktar
emir.toktar at computer.org
2008 Aug 12
4
Frequency vector
I want to create a vecor with frequencies.
I have tried this:
a <- c(1,1,1,1,2,3,4,5,5)
b <- table(a)
print (b[1])
which results in:
> print (b[1])
1
4
The only thing I want is the 4.
So this seems obvious:
print (b[1,2])
but it does not work:
Error in b[1, 2] : incorrect number of dimensions
How do I get a vector or how do I refer to the "4" without getting the
2008 Aug 05
1
optimize simultaneously two binomials inequalities using nlm( ) or optim( )
...le size)
c , (critical level of defectives)
alpha , (producer's risk)
betha , (consumer's risk)
p2max (consumer's probability p2)
Could one help me understand how can desing the optimize nonlinear function
using R for two binomials or point me some tips?
Thanks in advance.
EToktar
2008 Jul 29
0
optimize simultaneously two binomials inequalities using nlm
...solving nonlinear unconstrained minimization problems. May I
wrong, but the nlm() function would be appropriate to solve this problem, is
it right?
Can I get a pointer to solve this problem using the nlm() function or where
could I get some tips/example to help me, please?
Thank you very much.
EToktar