equal_length | R Documentation |
Equal Length
equal_length(x, suffix = " ", nchar, colname = FALSE, rowname = FALSE)
x |
can be number, strings, verctors, dataframe or matrix. |
suffix |
suffix |
nchar |
maximun length |
colname |
a logistic value, default is FALSE |
rowname |
a logistic value, default is FALSE |
equal length results
a=c(123,1,24,5,1.22554)
equal_length(a,0)
df = data.frame(
a=c(12,1,1.23),
b=c('a','abcd','d')
)
equal_length(x = df,suffix = 'x')
equal_length(x = df,suffix = 0,nchar =5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.