Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Applying table() to each column of a matrix
#R version 3.3.2 df <- sapply(1:20, function(x1) sample(x = seq.int(x1), 200, TRUE)) colnames(df) <- paste("v", 1:20, sep="") rownames(df) <- 1:200 cat("head(df)\n") head(df) cat("\n\nhead(df)\n") table(df) cat("\n\napply(df, 2, table)") apply(df, 2, table)
run
|
edit
|
history
|
help
0
funções iron
Project2.Question1
19-08-2020-JacobiSistemaNewtonaprpx
Text loop for X-axis in time series. Example 2002-2018 by quarters
28-09-2020Int-poli-inter
ECO Stat
24-08-2020-GradConj
Inferences for Two Population Means [Cement Hydration]
Monroe Week 9 Homework
jcruet_crickets and temp