select_cases | R Documentation |
Select a subset of cases
select_cases(scdf, ...)
scdf |
A single-case data frame. See |
... |
Selection criteria. Either numeric, objectnames, or as characters. |
An scdf with a subset of cases
Other data manipulation functions:
add_l2()
,
as.data.frame.scdf()
,
as_scdf()
,
fill_missing()
,
moving_median()
,
outlier()
,
ranks()
,
scdf()
,
set_vars()
,
shift()
,
smooth_cases()
,
standardize()
,
truncate_phase()
select_cases(exampleAB, Johanna, Karolina)
select_cases(exampleAB, c(Johanna, Karolina))
select_cases(exampleAB, 1,2)
select_cases(exampleAB, 1:2)
select_cases(exampleAB, -Johanna)
select_cases(exampleAB, -c(Johanna, Karolina))
v <- c("Moritz", "Jannis")
select_cases(exampleA1B1A2B2, v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.