nobs | R Documentation |
This function retrieves the number of observations from a given object.
nobs(x)
x |
The input object, which can be of different types, such as a data frame, matrix, or a custom object with a defined 'nobs' method. |
The number of observations in the input object. Depending on the object type, this could be the number of rows or elements.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.