Skip to content
Prev 263161 / 398502 Next

Quick R syntax question

On Jun 20, 2011, at 11:47 AM, Luke Miller wrote:

            
I do not think the as.character is needed. Coercion to character is  
implicit in the use of paste(). And  the sep argument could be "+".

output = paste(df [,'Major.Gleason'],  df[ ,'Minor.Gleason'], sep='+')