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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:28:29+00:00 2026-06-05T22:28:29+00:00

So the problem I’ve run into is pretty basic, but I can’t seem to

  • 0

So the problem I’ve run into is pretty basic, but I can’t seem to solve it. I’ve been working with spatstat’s F, G, J, K, and L functions, and I want to plot the F function for one point process on the same plot as the F function for a different point process. This has been easy, except that one of my point processes evaluates the function to r = 20 and the other to r = 15 (‘r’ is the independent variable on the x-axis). I want them to both be evaluated to the same r value, preferably 20. How would I do this? Essentially, this is the problem.

First I create the data frame containing the function’s values:

mydata.Fest <- Fest(mydata)

Then, for some reason, this line of code:

plot(mydata.Fest)

Does not evaluate to the same ‘r’ (independent variable) value as this line of code:

plot(mydata.Fest, xlim=c(0,20), ylim=c(0,0.8))

Both plots go from xlim = c(0,20) and ylim = c(0,0.8), but for some reason the second one stops evaluating the function at x = 15. Considering that they are plotted from the same object, I haven’t got a clue as to why they don’t produce the same plot.

As a side note, I’ve been having another problem: when working with the F, J and K functions, I’ve found that adjusting the limits (particularly that of the independent variable) causes R to crash unexpectedly. If you’ve had this problem, or know of a solution, please let me know.

Thanks!

  • 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-05T22:28:31+00:00Added an answer on June 5, 2026 at 10:28 pm

    This is a FAQ. It is discussed on the spatstat.org FAQ page.

    The summary functions in spatstat, such as Fest and Kest, have a ‘recommended range’ for the independent variable, which may be shorter than the range of values for which the function has been computed. The recommended range is the range where the function estimate is statistically reliable. By default, the function is plotted only to the recommended limits. (This is the standard practice in spatial statistics. If we didn’t do this, then most plots would look weird because the function values blow up and the reliable information would be scaled down to occupy just a small part of the lower left of the plot.)

    To inspect the available and recommended ranges of r, print the function object (just type its name) and look at the last few lines of output.

    To control the plot limits, use xlim and ylim.

    For more details, see the workshop notes http://www.csiro.au/resources/pf16h.html

    Adrian Baddeley – package author

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

Sidebar

Related Questions

Problem: I can set the exposureMode property of AVCaptureDevice, but it does not stay
I have a French site that I want to parse, but am running into
Problem: I'm working on a website where there is a dial that displays a
Problem statement: I want to upload a large binary (such as an audio clip)
?Problem is pretty simple, I extend Button to create ImageButton, and I extend ButtonSkin
Problem: Sometimes you will want to access a component from javascript with getElementById ,
Problem: I don't know why my script is not loading a value into the
Problem: Trying to create a Mix that is applied to the AVPlayerItem, but it
Problem : The problem I’m having is when I zoom into my UIScrollView (with
I am currently running into a problem where an element is coming back from

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.