Skip to content
My workspace
  • AI Chat
  • Code
  • Report
  • # Start coding here..
    # Vectors region and titles, used for naming
    region <- c("US", "non-US")
    titles <- c("A New Hope", "The Empire Strikes Back", "Return of the Jedi")
    
    # Name the columns with region
    colnames(star_wars_matrix) <- region
    
    # Name the rows with titles
    rownames(star_wars_matrix) <- titles
    
    # Print out star_wars_matrix
    star_wars_matrix. 

    ثبت اسم ردیق و ستون