n_obs_x {Rrepest} | R Documentation |
Number of observations valid for column x
Description
Number of observations valid for column x
Usage
n_obs_x(df, by, x, svy = NULL)
Arguments
df |
(dataframe) data to analyze |
by |
(string vector) column by which we'll break down results |
x |
(string) variable from where to get means |
svy |
(string) Possible projects to analyse.must be equal to ALL, IALS, IELS, PIAAC, PISA, PISA2015, PISAOOS, TALISSCH, TALISTCH |
Value
Dataframe containing the number of observations valid for the target variable x
Examples
data(df_pisa18)
data(df_talis18)
n_obs_x(df = df_pisa18, by = "cnt",x = "wb173q03ha", svy = "PISA2015")
n_obs_x(df = df_talis18, by = "cntry",x = "tt3g01", svy = "TALISTCH")
[Package Rrepest version 1.3.0 Index]