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

  • Home
  • SEARCH
  • 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 9258065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:17:58+00:00 2026-06-18T12:17:58+00:00

I am working through a linear regression example for uni variate data. The example

  • 0

I am working through a linear regression example for uni variate data.

The example is listed in this webpage: http://al3xandr3.github.com/2011/02/24/ml-ex2-linear-regression.html

Sorry for not pasting any code that I tried because I am not very familiar with R. I am a beginner.

I read the R documentation to solve this error but I was unable to figure out the cause of this error.

The error that I am getting is:

Warning message:
Removed 1 rows containing missing values (geom_segment). 

The line which is causing the error is:

ex2plot + geom_abline(intercept=theta[1], slope=theta[2])

Can any one help me in solving this error.

Sorry again, If this is a simple solution and if I am wasting your valuable time.

Edit:

Forgot to mention, the linear regression line that I am trying to plot using the geom_abline is not plotting.

  • 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-18T12:18:00+00:00Added an answer on June 18, 2026 at 12:18 pm

    Without looking at your example data, this is a typical warning from ggplot that is simply telling you that for some combination of the data frame you tried to plot, there was some missing data. It’s nothing to worry about unless you weren’t expecting any missing data. To know that, you’ll need to look at your original data set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working through this for fun: http://www.diku.dk/hjemmesider/ansatte/torbenm/Basics/ Example calculation of nullable and first uses a
I'm working through the Demo: Binding Data with the SqlDataSource of this pluralsight video
Working through Learning Python came across factory function. This textbook example works: def maker(N):
Still working through JQuery to get data and repopulate portions of a page. Right
Working through a zend tutorial & get this message, & not sure where to
If you click the dropdowns at this site: http://ryanbent.com/ - I want each of
Working through C++ Primer Plus and am trying to cin data to a dynamically
Working through more book examples- this one is a partial poker program- This segment
Working through rubykoans.com I came across these two pieces of code in about_array_assignment.rb How
Hi so I am working through this book called Beginning Android Games because and

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.