caixeta$local <- factor(caixeta$local) caixeta$ssp <- factor(caixeta$especie) str(caixeta)