lingpg(inc, gender = NULL, id, weight=NULL, sort = NULL,
Dom = NULL, period=NULL, dataset = NULL,
na.rm=FALSE, var_name="lin_gpg")dataset is not NULL) a character
string, an integer or a logical vector (length is the
same as 'datasedataset is not NULL) a character string, an
integer or a logical vector (length is the same as 'dataset'
column count) specifying the corresponding column of
datasetdataset is not NULL) a character string,
an integer or a logical vector (length is the same as
'dataset' coludataset is not NULL) a
character string, an integer or a logical vector (length
is the same as 'datdataset
is not NULL) a character string, an integer or a
logical vectordataset is not NULL) character
strings, integers or a logical vectors (length is the
same as 'dataset' column count)dataset is not NULL) character strings,
integers or a logical vectors (length is the same as
'dataset' column coundata.frame.data.frame containing the estimate(s)
the gender pay (wage) gap coeffients (in percentage) by domain,
or (if Dom is NULL) totals, using Eurostat
definition.data.frame containing the values of
linearized variables of of the gender pay (wage) gap (in
precentage) by domains or (if Dom is NULL)
totals.linqsr, lingini,
varpoord, var_srsdata(ses)
dati=data.frame(1:nrow(ses),ses)
colnames(dati)[1]<-"ID"
gpgs2<-lingpg("earningsHour", gender="sex", id="ID", weight="weights",
Dom="education", dataset=dati)
gpgs2$valueRun the code above in your browser using DataLab