I homeschooled my kids until my oldest was in 5th grade, my next in 4th, and my youngest in 2nd. I started when they were 4 and 5. I ended up sending them to public schooll because I work now and also because as they get to higher grades they have the ability to have a broader range of subjects, etc. I know I couldn't really teach arts, dance, foreign language, etc, but I gave them a good base, made sure they know how to read, spell, etc etc. So I think that helps them out.
Honestly, it doesn't matter if a kid is homeschooled or public schooled, parents have to teach their kids morals. With good morals it can really help them fend off peer pressure, at least a lot, and eventually they will encounter kids and people of the world, and I wanted mine to be able to have an understanding of how to deal with them. Depending on how much the parent does or doesn't try to work on socialization with homeschooled kids, some are very backwards when dealing with others as they get older because they didn't learn how to develop social skills. That's easily compensated for by making sure to take them places where they can interact with other kids.
Bookmarks