search for: alicuota

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

Did you mean: alicuotas
2009 Feb 13
1
Add columns to data frame automatically
...nding 100 series. I want to save all those datasets in a dataframe, so I wrote this... prep <- function() # Clase[1]/Categoria[2]/Phi[3]/Rf[4] peso <- c(.0,.03,.3,.6) # Extension del calculo for (i in 1:100) { # Calculos de todas las curvas # Variables (Valor Base) abase <- AlicuotaBruta clase <- llmcc$Clase as.numeric(peso) df.clases <- data.frame() df.clases[,i] <- (abase/llmcc$Clase)*peso[1] peso[1] <- peso[1]+(.01) cat("Modelos de Alicuotas:", i, peso[1], "\n") } return (df.clases) Problem is: the function does not work, a...