getting warning message

Hi,
when trying to add a row as
rbind(employee2020, list(8, "JohnM","Admin" ,15505))

to my dataset employee2020 as below

EmployeeId FirstName Profession Income
1 1 John Professional 80000
2 2 Rob Management 90000
3 3 Christy Developer 75000
4 4 Johnson Programmer 92000
5 5 Miller Clerical 68000
6 6 Zhu Admin 82000
7 7 Rob Hr 55000
>
getting
Warning message:
In [<-.factor(*tmp*, ri, value = "JohnM") :

  • invalid factor level, NA generated*

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.