search for: dim_df

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

Did you mean: dif_df
2005 May 24
1
Contingency tables from data.frames
...eaks and right)------------ er.table.df.br <- function(df, breaks = c('Sturges', 'Scott', 'FD'), right = FALSE) { if (is.data.frame(df) != 'TRUE') stop('need "data.frame" data') dim_df <- dim(df) tmpList <- list() for (i in 1:dim_df[2]) { x <- as.matrix(df[ ,i]) x <- na.omit(x) k <- switch(breaks[1], 'Sturges' = nclass.Sturges(x), 'Scott' = nclass.scott(x), 'FD'...