The Donald Trump Twitter account that helped make the Republican nominee so famous is in fact run by at least two people, according to a data scientist.

Mr Trump writes his own, angry and often outright rude tweets from an Android phone, according to the new analysis. But someone else appears to be working to publish more strategically useful tweets from an iPhone.

Those are the findings by data scientist David Robinson, who used textual analysis to explore how Mr Trump’s tweets came together.

The analysis was prompted by a tweet that suggested that two posts, sent hours apart, had been written by different people.

“When Trump wishes the Olympic team good luck, he’s tweeting from his iPhone,” wrote Mr Robinson in a post detailing his findings. “When he’s insulting a rival, he’s usually tweeting from an Android. Is this an artifact showing which tweets are Trump’s own and which are by some handler?”

Mr Robinson took all of the tweets posted on each platform and examined what sort of characteristics they had, as well as applying sentiment analysis to see how they differed in what they said.

People who will flee America if Donald Trump wins Show all 8 1 /8 People who will flee America if Donald Trump wins People who will flee America if Donald Trump wins Miley Cyrus 'God’ he thinks he is the f***ing chosen one or some shit! … Honestly f*** this sh*t I am moving if this is my president! I don’t say things I don’t mean!' Jemal Countess/Getty Images People who will flee America if Donald Trump wins Whoopi Goldberg 'I don’t think that’s America. I don’t want it to be America. Maybe it’s time for me to move you know' People who will flee America if Donald Trump wins Samuel L. Jackson 'If that mother**er becomes president, I’m moving my black ass to South Africa' People who will flee America if Donald Trump wins Raven Symone 'My confession for this election is, if any Republican gets nominated, I’m gonna move to Canada with my entire family. Is that bad? I already have my ticket. I literally bought my ticket, I swear' People who will flee America if Donald Trump wins Cher 'If he were to be elected, I'm moving to Jupiter' People who will flee America if Donald Trump wins Neve Campbell 'I’m terrified. It’s really scary. My biggest fear is that Trump will triumph. I cannot believe that he is still in the game ... [I'll] move back to Canada' People who will flee America if Donald Trump wins Jon Stewart 'I would consider getting in a rocket and going to another planet, because clearly this planet’s gone bonkers' People who will flee America if Donald Trump wins Randy Blythe 'He could just be a clown. If he is the president, though, I am leaving America 'till he's gone'

He found that the tweets sent from the two different platforms “are clearly from different people, posting during different times of day and using hashtags, links, and retweets in distinct ways”.

But he also found that the tweets sent from an Android phone – which Mr Trump is known to use – “are angrier and more negative, while the iPhone tweets tend to be benign announcements and pictures”.

Mr Robinson said that his main interest in the story was trying to understand the mind of the anonymous staff member who is writing the less angry tweets that still use Mr Trump’s voice.

“A lot has been written about Trump’s mental state,” he wrote, referencing a piece about Mr Trump’s ghostwriter, Tony Schwartz. Mr Schwartz said last month that he regretted helping create the character of Donald Trump in his book The Art Of The Deal, which like Mr Trump’s Twitter account has been a central part of his campaign to be the Republican presidential candidate.

“But I’d really rather get inside the head of this anonymous staffer, whose job is to imitate Trump’s unique cadence (“Very sad!”), or to put a positive spin on it, to millions of followers. Is he a true believer, or just a cog in a political machine, mixing whatever mainstream appeal he can into the @realDonaldTrump concoction?

Diagnosing a narcissist with Donald Trump