indep_diff | R Documentation |
Get in a dataframe all bivariate combinations of differences and standard errors from columns starting with b. and se. assuming independence. For a time series the vector must be order from oldest to newest.
indep_diff(df, vec_series)
df |
(dataframe) Dataframe that contains the columns with b. and se. on their name to get the difference from |
vec_series |
(numeric vector) Column names to get difference from, not including "b." at the start. Must have a column in dataframe also including "se.". |
Dataframe with extra columns containing the difference of the columns along with their standard error.
indep_diff(rrepest_pisa_age_isced, paste0("mean.age..ISCED level ",c("1","3A","2")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.