Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8549655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:46:00+00:00 2026-06-11T13:46:00+00:00

I have ordered a set of rows to get this: 2 1983 TRI-COUNTY TRAUTH

  • 0

I have ordered a set of rows to get this:

2   1983  TRI-COUNTY  TRAUTH         0.1495 0.1395     NA      452 0.0764      4      0  06/02/83
4   1983  TRI-COUNTY  TRAUTH         0.1193 0.1113     NA       32 0.0764      4      2  07/20/83
14  1983  TRI-COUNTY  TRAUTH         0.1064 0.1064     NA       26 0.0763      6      2  08/03/83
17  1983  TRI-COUNTY  TRAUTH         0.1110 0.1010 0.1010      176 0.0763      7      4  08/08/83
24  1983  TRI-COUNTY  TRAUTH         0.1293 0.1215     NA      452 0.0763      4      0  09/12/83
41  1984  TRI-COUNTY  TRAUTH         0.1325 0.1225     NA      452 0.0740      4      0  06/20/84
45  1984  TRI-COUNTY  TRAUTH         0.1425 0.1325     NA       32 0.0741      4      2  07/17/84
47  1984  TRI-COUNTY  TRAUTH         0.1395 0.1395 0.1250       91 0.0741     14     11  07/16/84

But I want to renumber these such that its 1,2,3,4,etc…

Can someone please help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:46:02+00:00Added an answer on June 11, 2026 at 1:46 pm

    Are you just looking for something like this?:

    row.names(datasetname) <- 1:nrow(datasetname)
    

    Alternatively, if the first column in your example data is a variable (say V1) in a dataframe and not the row.names, this will work:

    datasetname$V1 <- 1:nrow(datasetname)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a set of vertically ordered elements. They are displayed with the following
I have an ordered list like this: var list = new List<String>(){aaa,aab,aac,baa,bab,bac}; I want
I have an html ordered list with differnent types e.g <ol type=a> <li>This is
i have a query to fetch 100 rows of events ordered by timestamp. i
For instance, if I have an ordered set of objects [a, b, c, d,
Does the C++ standard library have an ordered set datastructure? By ordered set, I
I have an ordered list in my Word document, and I want to add
I have an ordered string that I need to present to a user: ABCCDDCBBBCBBDDBCAAA
We have an ordered list <ol> <li>something good</li> <li>even better</li> <li>possibly the best</li> </ol>
I have an ordered list which I have styled in two ways: Coloured the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.