transform_data | R Documentation |
Generate a dataframe with 't', 'pos' and 'tot' columns from 't' and 'seropositive' vectors.
transform_data(t, spos)
t |
the time vector. |
spos |
the seropositive vector. |
dataframe in aggregated format
df <- hcv_be_2006
hcv_df <- transform_data(df$dur, df$seropositive)
hcv_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.