| null_distribution | R Documentation |
Create a null distribution object
new_null_distribution(nulls, method, observed, params = list())
## S3 method for class 'null_distribution'
print(x, ...)
## S3 method for class 'null_distribution'
summary(object, ...)
## S3 method for class 'null_distribution'
as.matrix(x, ...)
## S3 method for class 'null_distribution'
plot(x, parcel = 1L, ...)
nulls |
Numeric matrix (n x n_perm) of surrogate values. |
method |
Character string identifying the null model method. |
observed |
Numeric vector of original data values. |
params |
Named list of algorithm parameters. |
x |
A |
... |
Ignored. |
object |
A |
parcel |
Integer index of the parcel to plot. |
A null_distribution object.
nulls <- matrix(rnorm(30), nrow = 3, ncol = 10)
nd <- new_null_distribution(nulls, "test", observed = c(1, 2, 3))
print(nd)
summary(nd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.