creating the additional factor variable region with levels in r code example Example: show factor levels in r #in R levels(x)