fixArrayLength | R Documentation |
This function is used (for better or worse) when coercing an R vector (including a list) to an appropriate form. It changes the length of the R object to match that of the array.
fixArrayLength(obj, expectedLength, fatal = FALSE)
obj |
the R object whose length is to be changed |
expectedLength |
the length of the target native array |
fatal |
a logical value indicating whether to report an error or just a warning about the mismatched lengths |
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.