DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
How to extract the row with min or max values? in R
df[which.max(df$Var),] df[which.min(df$Var),]
PREVIOUS
NEXT
Tagged:
#How
#extract
#row
#min
#max
#R
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit