search for: colpercent

Displaying 2 results from an estimated 2 matches for "colpercent".

2013 Jul 04
2
porcentajes
Buenos días quiero definir situación_2 <-tapply(ICE_3$FACTOR_CORR, list(X.1.1Eneltrimestrequeestáacabando=ICE_3$X.1.1Eneltrimestrequeestáacabando, CNAE_1=ICE_3$CNAE_1), f) donde f sea el porcentaje por filas (y/o el porcentaje por columnas) y las funciones rowPercent y colPercent me dan el siguiente error Error en tapply(ICE_3$FACTOR_CORR, list(X.1.1Eneltrimestrequeestáacabando = ICE_3$X.1.1Eneltrimestrequeestáacabando, : objeto 'colPercent' no encontrado y al poner en el lugar de f las funciones colSums o rowSums el error que me da es 'x' must be an ar...
2007 Jun 02
1
Calculating column percentages of a table
...ind anything on this in the manuals! I know that I get calculate the column totals of a table with `apply(mytable, 2, sum)'. Now I want each column total to be 100% and calculate the percentage of each field of the column. How would I do that? Rcommander, the ultimate newb-tool, has a function `colPercents' which is exactly what I need, but I do not want to load the whole thing into memory just for this function. Is there a way to load just this single function from the Rcmdr package? Many thanks, Rehceb Rotkiv -- View this message in context: http://www.nabble.com/Calculating-column-percentag...