search for: x_coord

Displaying 7 results from an estimated 7 matches for "x_coord".

2004 Oct 03
1
help working with persp plot function
Hi, I don't understand why this is not working. Help is appreciated. I need to plot the following as a surface, but persp returns an error. tpcp_xy[1:10,] X_COORD Y_COORD TPCP 1 465459.7 175924.1 0.85 2 466145.8 324017.3 2.30 3 467720.2 372143.1 1.56 4 470293.2 348064.8 2.87 5 476566.9 205501.8 0.94 6 477774.9 142561.0 1.31 7 479207.0 162919.6 3.04 8 480890.8 290641.3 2.20 9 488865.9 159201.4 2.30 10 490328.3 248049.0 2.81 Note that the X_COORD...
2009 Nov 10
1
aggregate data.frame
..., I've two data.frame: ind_comp and dati_area > ind_comp INDEX indice 1 1 0.3081856 2 2 0.1368007 3 3 0.1290952 4 4 0.2905484 5 5 0.2686706 6 6 0.1122784 7 7 0.4493264 8 8 0.1932665 9 9 0.1982783 10 11 0.3724666 > dati_area X_COORD Y_COORD DBH AREA ID ind_comp 1 0.0000000 0.0000000 70.0 1 1 0 2 4.4352788 14.5071431 70.0 1 2 0 3 10.6893894 10.3226234 68.0 1 3 0 4 5.8856279 0.4115632 75.5 1 4 0 5 5.7429111 -8.5142159 78.5 1 5 0 6 -6.4300000 11.1...
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
...1/library/MyPi' Exited with status 1. This is the Fortran code: Module Fortranpi IMPLICIT NONE contains subroutine dboard(darts, dartsscore) integer, intent(in) :: darts double precision, intent(out) :: dartsscore double precision :: x_coord, y_coord integer :: score, n score = 0 do n = 1, darts call random_number(x_coord) call random_number(y_coord) if ((x_coord**2 + y_coord**2) <= 1.0d0) then score = score + 1 end if end do dartsscore = 4.0d0*score/darts end subroutine dboard subrout...
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
...; This is the Fortran code: > > > Module Fortranpi > IMPLICIT NONE > contains > subroutine dboard(darts, dartsscore) > integer, intent(in) :: darts > double precision, intent(out) :: dartsscore > double precision :: x_coord, y_coord > integer :: score, n > > score = 0 > do n = 1, darts > call random_number(x_coord) > call random_number(y_coord) > > if ((x_coord**2 + y_coord**2) <= 1.0d0) then > score = score + 1 > end if > end do > >...
2012 Oct 26
1
SPACECAP error "subscript out of bounds"
...file with the 2250 GPS points, points were created in GME with the random points generator tool. As for the file, I'll try and answer some of the questions that the people posed to the user in 2011: str(NN)--str(centers) = > str(centers) 'data.frame': 2250 obs. of 3 variables: $ X_COORD: num 353744 349686 350758 351545 351545 ... $ Y_COORD: num 8318707 8319311 8317761 8318474 8319172 ... $ HABITAT: int 1 1 1 1 1 1 1 1 1 1 ... dim(NN) --dim(centers) > dim(centers) [1] 2250 3 length(od) --length(centers) [not entirely sure if I'm supposed to be finding this length o...
2007 Nov 30
0
How to Compute envelope of Khat in Splancs Package
Howdy Gurus I am try to compute envelope of Khat from simulations of complete spatial randomness using R package of "Splancs." I got the following error: > UL.khat <- Kenv.csr(length(X_coord), bnd, nsim=100, s) Doing simulation 1 Error in runif(n, min, max) : invalid arguments In addition: Warning message: NAs introduced by coercion I think that I have a problem with "poly." How can I correct "poly"? There is a decription about "poly" like bnd. ----...
2009 Aug 02
3
i'm so stuck with text file and contour plot
Ok i feel pretty stupid.. been trying to read a text file that contains heading in the first line in to R but cant. all i need to do is make a contour plot for a friend but after weeks i feel like giving up.. i included the first few lines of the file.. any help will be great Thanks Hannes http://www.nabble.com/file/p24777697/small.txt small.txt -- View this message in context: