2
I have two data frames called employees and employees.
nome.empregado <- c('Renato', 'Miguel', 'Paulo', 'Patrícia', 'Inês', 'Saulo',
'Diego', 'Maria', 'Jose', 'Julia', 'Tiago')
idade <- c(30, 31, 29, 30, 25, 30, 30, 35, 24, 31, 29)
empregados <- data.frame(nome.empregado, idade)
nome.empregado <- c('Renato', 'Miguel', 'Paulo', 'Patrícia', 'Inês', 'Saulo',
'Diego', 'Maria', 'Jose', 'Julia', 'Tiago','Carla')
idade <- c(30, 31, 29, 30, 25, 30, 30, 35, 24, 31, 29, 50)
funcionarios <- data.frame(nome.empregado, idade)
I need to make a Join to select only the unequal records. In my example above, I have to find only the line with the name Carla. I tried using the function merge
and I couldn’t. I would like help for this problem. Thank you.