Description Usage Arguments Value Author(s) See Also Examples
View source: R/sequential.seqsubmat.R
Applies sequential.submatrix
sequentially to a set of gap sizes, with window.size =1
1 2 | sequential.seqsubmat(dataset, sampl.columns, group.column, gap.sizes,
n.replicates.limit)
|
dataset |
name of the matrix or dataframe to analyze |
sampl.columns |
numbers of the consecutive columns with the (daily) sampling data, e.g. 4:180 |
group.column |
name or index number of the column containing the taxa or groups to analyse separately, e.g. 3 or "Family"; if NULL, all records will be used together |
gap.sizes |
integer vector of the size(s) of the gaps between sampling days. Must be either 0 (for no gap) or a vector of positive integers. |
n.replicates.limit |
Maximum number of replicates allowed |
This function returns a list of submatrices
A. Marcia Barbosa
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(roadkills)
seqsubmats <- sequential.seqsubmat(dataset = roadkills,
sampl.columns = 4:ncol(roadkills), group.column = "taxon", gap.sizes = 1:4,
n.replicates.limit = 7)
names(seqsubmats)
# seqsubmats for gap 0 (baseline scenario) must be obtained separately:
seqsubmats.baseline <- sequential.seqsubmat(dataset = roadkills,
sampl.columns = 4:ncol(roadkills), group.column = 3, gap.sizes = 0,
n.replicates.limit = 7)
names(seqsubmats.baseline)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.