Description Usage Arguments Details Value Examples
This function converts counts or rates to proportions.
1 |
traj |
[matrix (numeric)]: longitudinal data. Each row represents an individual trajectory (of observations). The columns show the observations at consecutive time points. |
id_field |
[numeric or character] Whether the first
column of the |
scale |
[numeric] To scale the 'proportion' measures.
Default: |
digits |
[numeric] Specifying number of digits to
approximate the output to. Default: |
Given a matrix of observations (counts or rates), this
function converts each observation to a proportion equivalent to
the sum of each column. In other words, each observation is divided
by the sum of the column where it is located, i.e.
prop = [a cell value] / sum[corresponding column]
A dataframe of proportion measures
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.