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 9283231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:34:35+00:00 2026-06-18T18:34:35+00:00

I have my data in a space-separated text file; each line represents a data

  • 0

I have my data in a space-separated text file; each line represents a data point contained in a given month:

Jan/2012 1000
Jan/2012 1500
Jan/2012 1200
Feb/2012 1300
Feb/2012 1400
Feb/2012 1000
...
Dec/2012 1300
Dec/2012 1400
Dec/2012 1000

I’d like to generate for each month the min, max, median, mean, standard deviation, and 95th quantile. I’d also like to generate a boxplot for the entire year. How can I do this in R? I can load the data with mydata = read.table(file="mydata.txt", sep=" "), but summary produces output like:

      month              time          
 Aug/2012: 229357   Min.   :    31100  
 Oct/2012: 223158   1st Qu.:    91267  
 Mar/2012: 221986   Median :   124048  
 Apr/2012: 215368   Mean   :   199639  
 Jul/2012: 213956   3rd Qu.:   176766  
 May/2012: 200920   Max.   :150018802  
 (Other) :1146616                      

I don’t have any experience generating boxplots; guidance is welcome.

  • 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-18T18:34:36+00:00Added an answer on June 18, 2026 at 6:34 pm
    tapply(dfrm$time, substr(dfrm$month, 1,3), summary)
    library(Hmisc)
    tapply(dfrm$time, substr(dfrm$month, 1,3), describe)
    boxplot(time~month, data=dfrm)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a text file that contains lots of data arranges as String separated
Suppose I have a text file with numbers separated by colons and spaces as
I have a text file containing a large number of rows of data with
I have a data with the following format: foo<tab>1.00<space>1.33<space>2.00<tab>3 Now I tried to sort
I have a set of data points in 3D space which apparently all fall
I have 'data.xlsx' file with cells of numbers and letters. when I run this
I have a large number of text files containg data arranged into a fixed
I am trying to read in data from a text file and put it
We have recently compared the respective file sizes of the same tabular data (think
I have a .txt file with product data, which I want to read in

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.