DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
mean of a row dataframe in r
# row wise mean using rowMeans() df1$Avg_score = rowMeans(df1[,c(2,3,4)])
PREVIOUS
NEXT
Tagged:
#row
#dataframe
ADD COMMENT
Topic
COMMENT
Name
4+3 =
Submit