From my understanding funk is major/upbeat music with a heavy focus on rhythm, and rhythm and blues is minor/sadder songs; they both share the blues scale and rhythm is the name of the game.
The melodies in funk are more percussive too, and RnB uses big 7th and 9th chords...