Description Usage Arguments Details Value Examples
Converts the standard plpData to a sparse matrix
1 |
plpData |
An object of type |
population |
The population to include in the matrix |
map |
A covariate map (telling us the column number for covariates) |
temporal |
Whether you want to convert temporal data |
This function converts the covariate file from ffdf in COO format into a sparse matrix from the package Matrix
Returns a list, containing the data as a sparse matrix, the plpData covariateRef and a data.frame named map that tells us what covariate corresponds to each column This object is a list with the following components:
A sparse matrix with the rows corresponding to each person in the plpData and the columns corresponding to the covariates.
The plpData covariateRef.
A data.frame containing the data column ids and the corresponding covariateId from covariateRef.
1 | #TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.