Re: [R] Calculating variables

2009-02-10 Thread Uwe Ligges
Jesús Guillermo Andrade wrote: Dear fellows: This is the problem: I have 5 variables A, B, C, D and E with a range from 1 to 100 with 0.1 steps. Depending on the different values these have, the results of the formula change: alitemp <- ((Abase/llmcc$Clase)*PClase)+(((1/llmcc $Categoria)

[R] Calculating variables

2009-02-09 Thread Jesús Guillermo Andrade
Dear fellows: This is the problem: I have 5 variables A, B, C, D and E with a range from 1 to 100 with 0.1 steps. Depending on the different values these have, the results of the formula change: alitemp <- ((Abase/llmcc$Clase)*PClase)+(((1/llmcc $Categoria)*Abase)*PCategoria)+((Abase*llmcc$P