show_rounds_country {essurvey} | R Documentation |
Return countries that participated in all of the specified rounds.
Description
Return countries that participated in all of the specified rounds.
Usage
show_rounds_country(rounds, participate = TRUE)
Arguments
rounds |
A numeric vector specifying the rounds from which to return the countries.
Use |
participate |
A logical that controls whether to show participating countries in that/those
rounds or countries that didn't participate. Set to |
Details
show_rounds_country
returns the countries that participated in
all of the specified rounds. That is, show_rounds_country(1:2)
will return countries that participated both in round 1 and round 2. Conversely,
if participate = FALSE
it will return the countries that did not
participate in both round 1 and round 2.
Value
A character vector with the country names
Examples
## Not run:
# Return countries that participated in round 2
show_rounds_country(2)
# Return countries that participated in all rounds
show_rounds_country(1:8)
# Return countries that didn't participate in the first three rounds
show_rounds_country(1:3, participate = FALSE)
## End(Not run)
[Package essurvey version 1.0.8 Index]