| ncols | R Documentation |
Return the number of columns in a table.
ncols(data)
data |
A data frame or data table. |
An integer scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.