View source: R/getConnectedSets.R
getConnectedSets | R Documentation |
Finds a list of connected data sets in a matrix or data frame and returns them accordingly.
getConnectedSets(M)
M |
Numeric matrix with missing values considered as 0, or a data frame. The data frame is internally converted to a matrix and should have three columns (x, factor 1, factor 2) where x are considered the entries of the matrix, rows correspond to levels of factor 2 and columns correspond to levels of factor 1. |
getConnctedSets returns a list of connected data sets as numeric data frames D with three columns (x, factor 1, factor 2) or a n*m matrix M, where the n rows correspond to n levels of factor 2 and m columns correspond to m levels of factor the respective factors. Output as data frame or matrix, depending on input.
cs_i |
List of connected sets as matrix or data frame, corresponding to the input. named as cs_i with i being the number of the connected sets. |
Joerg Schaber
Searle (1997) 'Linear Models'. Wiley. page 318.
connectedSets
maxConnectedSet
data(Searle) getConnectedSets(Searle)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.