Description Usage Arguments Details Value Author(s) Examples

`nobs`

is a generic function to return the number of
observations from a model. `shuffle`

provides a few methods for
other types of data object in R.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ```
## S3 method for class 'numeric'
nobs(object, ...)
## S3 method for class 'integer'
nobs(object, ...)
## S3 method for class 'matrix'
nobs(object, ...)
## S3 method for class 'data.frame'
nobs(object, ...)
## S3 method for class 'character'
nobs(object, ...)
## S3 method for class 'factor'
nobs(object, ...)
``` |

`object` |
a data frame or matrix, or a numeric, integer, character, or factor vector. |

`...` |
arguments to other methods. |

Function `nobs`

is a simple generic function to return the
number of observations in a range of R model objects. Methods are
provided to work with a variety of R objects.

The (numeric) number of observations in `object`

.

Gavin Simpson

1 2 3 4 5 6 7 8 9 10 11 12 |

permute documentation built on March 12, 2019, 5:07 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.