Los Angeles Lakers have announced that LeBron James will miss the rest of the season to allow him to fully recover from a groin injury.