.ndraws | R Documentation |
The number of posterior draws in a draws object.
.ndraws(x)
## S3 method for class 'matrix'
.ndraws(x)
## Default S3 method:
.ndraws(x)
x |
A draws object with posterior draws. |
This is a generic function to return the total number of draws from
an arbitrary draws objects. The function is internal and should only be
used by developers to enable loo_subsample()
for arbitrary draws objects.
An integer with the number of draws.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.