Let’s create a data frame as shown above using the
data.frame() function. The resulting data frame should consist of the three columns
weekdaycontains the weekday names
temperaturecontains the temperatures (in degrees Celsius) as
hotcontains the logical values
Store the final data frame in the variable
temp and print its output to the console:
Submit code to see output here.