You can include your which.max
call as the first argument to your subsetting call:
df[which.max(df$Temp),]
More Related Contents:
- How can I take pairwise parallel maximum or minimum between two vectors?
- min for each row in a data frame
- Finding running maximum by group
- How to find the highest value of a column in a data frame in R?
- How to get the maximum value by group
- Is there a vectorized parallel max() and min()?
- Find value corresponding to maximum in other column [duplicate]
- Finding the maximum value for each row among 3 columns in R
- Count number of rows within each group
- Create an empty data.frame
- Add a common Legend for combined ggplots
- Assign multiple new variables on LHS in a single line
- Sort columns of a dataframe by column name
- How to add a ggplot2 subtitle with different size and colour?
- Convert yyyymmdd string to Date class in R
- How to make dodge in geom_bar agree with dodge in geom_errorbar, geom_point
- Read Stata 13 file in R
- Last Observation Carried Forward In a data frame? [duplicate]
- tidyverse pivot_longer several sets of columns, but avoid intermediate mutate_wider steps [duplicate]
- different size facets proportional of x axis on ggplot 2 r
- ggplot2 plot area margins?
- Get the event which is fired in Shiny?
- How to change positions of x and y axis in ggplot2
- Add values to a reactive table in shiny
- Error with select function from dplyr
- Amazon Product API with R
- Convert a dataframe to an object of class “dist” without actually calculating distances in R
- Convert decimal day to HH:MM
- calculating sum of previous 3 rows in R data.table (by grid-square)
- How can I resolve the “No Font Name” issue when importing fonts into R using extrafont?