add_l2 | R Documentation |
Merges variables with corresponding case names from a data.frame with an scdf file
add_l2(scdf, data_l2, cvar = "case")
scdf |
A single-case data frame. See |
data_l2 |
A level 2 dataset. |
cvar |
Character string with the name of the "case" variable in the L2 dataset (default is 'case'). |
This function is mostly used in combination with the hplm()
function.
An scdf
hplm()
Other data manipulation functions:
as.data.frame.scdf()
,
as_scdf()
,
fill_missing()
,
moving_median()
,
outlier()
,
ranks()
,
rescale()
,
scdf()
,
select_cases()
,
set_vars()
,
shift()
,
smooth_cases()
,
standardize()
,
truncate_phase()
Leidig2018 |> add_l2(Leidig2018_l2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.