search for: panclas

Displaying 1 result from an estimated 1 matches for "panclas".

Did you mean: panceac
2009 Feb 10
0
Dataframes: conditional calculations per row [SOLVED].
...deo > sumaformula <- sum(alitemp) > # Fragmentacion de la matriz segun clases... > llmcc2 <- llmcc > llmcc2$Alitmp <- alitemp > llmcc2$newExpression <- with(llmcc2,ifelse(Clase<10, > Alitmp*100/sumaformula, Alitmp*100/sumaformula)/PAnclas) > return (llmcc2) > } > There are a couple of things I have to work out first though: The > scope of an external variable (Abase) that I'd like to use it as a > default so I dont have to bother in identifiying it everytime i run > the function, and the possibilit...