dominance: Returns highest of mother and father codes

Description Usage Arguments Value Examples

Description

Uses the dominance pespective to provide highest of mother and father ses or social class. This will return the MAX for prestige codes and MIN for EGP codes.

Usage

1

Arguments

x

A int vector of length 2

type

Either 'EGP', 'ISEI', or 'SIOPS'

Value

Returns highest

Examples

1
2
3
4
5
6
7
8
#Returns 79
dominance(c(56,79), type = "ISEI")
# Returns 56
dominance(c(56,NA), type = "SIOPS")
# Returns NA
dominance(c(NA,NA), type = "SIOPS")
#Returns 1
dominance(c(1,2), type = "EGP")

pdparker/isco88conversion documentation built on May 24, 2019, 11:45 p.m.