Description Objects from the Class Slots Methods Author(s) Examples

A Dependency model for one or two data sets

Returned by `fit.dependency.model`

, `ppca`

,
`pfa`

, and `pcca`

functions.

- W
a list of X, Y and total components containing the relationship between two data sets; for dependency model for one dataset, only total is given

- phi
a list of X, Y and total components containing the data set specific covariances; for dependency model for one dataset, only total is given

- score
score for fitness of model

- method
name of the used method

- params
list of parameters used in dependency model

- data
The data used to calculate the dependency model

- z
The latent variable Z

- getW
`signature(model = "DependencyModel")`

: Returns a list of model variable`W`

s`X`

,`Y`

and`total`

component- getPhi
`signature(model = "DependencyModel")`

: Returns a list of model variable`phi`

s`X`

and`Y`

and`total`

component- getScore
`signature(model = "DependencyModel")`

: Returns the dependency score of model- getParams
`signature(model = "DependencyModel")`

: Returns a list of used parameters for the method- getModelMethod
`signature(model = "DependencyModel")`

: Returns the name of the used method- getWindowSize
`signature(model = "DependencyModel")`

: Returns the size of window- getZ
`signature(model = "DependencyModel", X = "numeric", Y = "numeric")`

: Returns the latent variable z. Arguments`X`

and`Y`

are needed only when the dependency model is calculated without calculating the latent variable and the original data is not included with the model (arguments`calculateZ = FALSE`

and`includeData = FALSE`

in`fit.dependency.model`

.

Olli-Pekka Huovilainen [email protected]

1 2 3 4 | ```
data(modelData) # Load example data X, Y
model <- fit.dependency.model(X, Y)
# Getting the latent variable Z when it has been calculated with the model
#getZ(model)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.