An Associated Press analysis found that about four-fifths of the states now have enacted local laws that directly reject or ignore federal laws on marijuana use, gun control, health insurance requirements and identification standards for driver’s licenses.

