| isClosed | R Documentation |
Returns whether its know that the object is closed or centered
isClosed(x)
## Default S3 method:
isClosed(x)
## S3 method for class 'BData'
isClosed(x)
isCentered(x)
## Default S3 method:
isCentered(x)
## S3 method for class 'BData'
isCentered(x)
## S3 method for class 'BDataSplines'
isCentered(x)
## S3 method for class 'BayesSpaceBasis'
isCentered(x)
x |
the object to be checked |
a boolean, if true the system believes that the object is already closed
isClosed(default): default methods always returns FALSE
isClosed(BData): BData returns true if it was closed or declared closed
isCentered(): Checks for centering
isCentered(default): default methods always returns FALSE
isCentered(BData): BData returns true if it was closed or declared closed
isCentered(BDataSplines): BDataSplines returns true if the basis is centered
isCentered(BayesSpaceBasis): BayeSpaceBasis requests whether the basis is considered centered
isClosed(dnorm) # FALSE, because we have not way of knowing
isClosed(BDataDensities(list(dnorm),basis=B2N01Basis5,closed=TRUE)) # TRUE by assertation
isClosed(BDataDensities(list(Mul(2,dnorm)),basis=B2N01Basis5,close=TRUE)) # TRUE by making it
isCentered(dnorm) # FALSE, because we have not way of knowing
isCentered(BDataDensities(list(dnorm),basis=B2N01Basis5,closed=TRUE)) # FALSE
isCentered(cen(BDataDensities(list(Mul(2,dnorm)),basis=B2N01Basis5))) # TRUE by making it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.