You can create a data frame using the data.frame function. Here is a quick example:
Use the rank function to determine the population rank of each state from smallest population size to biggest. Save these ranks in an object called ranks, then create a data frame with the state name and its rank. Call the data frame my_df.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here