Displaying 20 results from an estimated 400 matches similar to: "How to Compute envelope of Khat in Splancs Package"
2010 Apr 08
0
khat and included polygons
Dear list,
I have a question regarding the included polygon in the khat function of the splancs library defining the area where points appear.
I have not only one simple polygon included, my map includes several islands.
I read my map which was a shape file by readShapeSpatial of the maptools library.
Then I split up the SpatialPolygonsDataFrame into the included polygons by
coor <- NULL
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
2009 Mar 22
0
FreeBSD Errata Notice FreeBSD-EN-09:01.kenv
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=============================================================================
FreeBSD-EN-09:01.kenv Errata Notice
The FreeBSD Project
Topic: Kernel panic when dumping environment
Category: core
Module: kern
Announced:
2002 Mar 12
1
RArcInfo Package, get.bnddata()
I am having trouble using get.bnddata() in the RArcInfo package. I
installed the version 0.2 binary of the package for Windows and am using R
1.4.1 on Windows NT 4.0. I have had no problems importing and plotting arc
data with get.arcdata() and plotarc(). plotpal() also works fine. I've
been able to use get.arcdata(), get.labdata(), get.paldata(),
get.tablenames(), get.tablefields(),
2012 Jun 02
2
Double-buffering problem, this time with an example.
Most of my animations that used to work
on windows() version 2.11.1 and earlier now flash
as if the double buffering is turned off or buffer swapping
is triggered by other events than in the past.
The simplified example below using symbols
should illustrate the problem in a windows environment.
windows()
radius <- 8
n <- 6
ang <- seq(0,2*pi,length=n+1)[-(n+1)]
ca <- cos(ang)
sa
2009 Nov 10
1
aggregate data.frame
Hi,
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
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
You should be able to set PKG_FCFLAGS="-fno-stack-protector" when
compiling to ensure that the stack protector is not used.
(Trying that out on a Windows VM, with a simple `R CMD build` + `R CMD
INSTALL`, compilation of your package succeeded but linking failed
saying the DLL 'Fpi' was not found; I imagine that's a separate
issue.)
As an aside, be sure to check out what
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
Hi,
I created a R library that uses a Fortran module. Everything works like a
charm on linux.
Now I'm trying to make it work on Windows. I cloned my git repository
<https://github.com/ignacio82/MyPi> on a windows computer, and when I press
the build and reload button on Rstudio I get these errors:
==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi
* installing to library
2012 Oct 16
2
Penalty function constrained optimization
Hi All,
I am trying to use optim() to minimize a function with a penalty function
term. This is a simple model bioeconomic model of a fishery. The penalty
function constrains the amount of effort (f) at 9. This works fine. The code
is:
**********
nfleets<-2
M<-1
M<-array(M,dim=c(nfleets))
N<-1000
cost<-c(30,30)
cost<-array(cost,dim=c(nfleets))
Price<-2
2013 Jan 27
1
lapply and SpatialGridDataFrame error
Hi all, I have a set of 54 files that I need to convert from ASCII grid
format to .shp files to .bnd files for BayesX.
I have the following R code to operate on those files:
library(maptools)
library(Grid2Polygons)
library(BayesX)
library(BayesXsrc)
library(R2BayesX)
readfunct <- function(x)
{
u <- readAsciiGrid(x)
}
modfilesmore <- paste0("MaxFloodDepth_", 1:54,
2017 Mar 21
1
Incompatible change in R-devel
On 21/03/2017 16:38, Dirk Eddelbuettel wrote:
>
> Hi Brian,
>
> On 21 March 2017 at 07:29, Prof Brian Ripley wrote:
> | As of today's commit r72375 all packages with native-routine
> | registration of C or Fortran routines need to be reinstalled in R-devel
> | (and that include some of the recommended packages in R itself which
> | will not be reinstalled via make
2015 Dec 17
1
How can I change the localSID for a SAMBA Server?
Hi Marc,
I tried using Samba version 4.3 without much success. I still was not able
to control what the local sid of the machine was.
To install 4.3 on Ubuntu 14.04 LTS I needed to use the following ppa:
https://launchpad.net/~bnd-acc/+archive/ubuntu/samba43
I also tried changing to the smb.conf to "SERVER ROLE = CLASSIC PRIMARY
DOMAIN CONTROLLER on my 4.1.6 and 4.3 version. This also did
2012 Oct 26
1
SPACECAP error "subscript out of bounds"
CENTERS.csv <http://r.789695.n4.nabble.com/file/n4647606/CENTERS.csv> Hello
all,
I'm trying to run SPACECAP. A couple of days ago I ran it with a centers
file with 300 GPS points, now I'm trying to run it with 2250, but I get this
error:
Error in NN[i, 1:length(od)] <- od : subscript out of bounds
I tried running SPACECAP with 1000 and 2000 points, but it still is not
2013 Sep 10
0
[LLVMdev] Intel Memory Protection Extensions (and types question)
Hi Kevin,
Can you explain what kind of abstraction/support do you plan to implement over the MP instructions ? I imagine that you plan to add a few intrinsics, right ? I imagine that you don’t need the register allocator to allocate the BND registers or anything fancy like that. In that case the registers can be an immediate in the intrinsic. Maybe you can start by presenting the kind of
2005 Jul 06
2
How to sample x-y coordinates from GIS files
Hi Gurus!
I have a job that is to get randomly samples from point-based GIS data (sp
called shape GIS files) under the total sum resctricted.
For example, I would like to take random smaples under the 1000 persons in
each city.
The randomly sampled persons should not be over 1000 any case.
Thank you in advance,
--
Kum-Hoe Hwang, Ph.D.
Phone : 82-31-250-3283
Email : phdhwang@gmail.com
2002 Nov 21
0
Re: RArcInfo question(basic=T, newbie=T, annoying=T)
Dear Steve,
I'll post your question also to the R-help mailing list since I think
this can help to other RArcInfo users.
As I mentioned in the last release of the package, I have a tutorial
nearly finished. I hope to release it in the next days.
> I have downloaded an .e00 file of 2000 Census Tracts for the southern US
> State of Georgia, and I'm wondering which steps I need to go
2006 Mar 05
2
what is scale function? Is it for variable transformation?
HOwdy
I read R books about scale function for variable transformation.
Acoording to this book
scale function leads me to better regression results. Or am I worng?
I hope somebody tell me about a scale function?
Is it for variable transformation?
--
Kum-Hoe Hwang, Phone : 82-31-250-3516Email : phdhwang@gmail.com
[[alternative HTML version deleted]]
2006 Oct 19
2
How to get multiple Correlation Coefficients
Hi
I have used a polycor package for categorical correlation coefficients.
I run the following script. But there were no results.
Could you tell me how to correct the script?
Thanks in advance,
vars <- names(sdi)
for (i in 1:length(vars)) {
for (j in 1:length(vars)) {
paste(vars[i]," and ", vars[j])
polychor(vars[i], vars[j])
# corr
}
}
--
Kum-Hoe Hwang, Ph.D.Phone :
2007 Feb 14
1
Any packages for conducting AHP( Analytic Hierarchy Process) data
Hi, R Lovers!
I have some survey data. I'd like to run R or R packages for processing data
inputted
from AHP(Analytic Hierarchy Process) survey.
Are there any R packages or subsititues for running data from AHP survey.
Thanks in advance,
--
Kum-Hoe Hwang, Ph.D.Phone : 82-31-250-3516 Email : phdhwang@gmail.com
[[alternative HTML version deleted]]
2006 May 18
1
how to get coefficients of regression or Anova
Hi R Gurus!
I conducted regression and anova followings :
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 6.07e-01 5.95e-02 10.19 < 2e-16 ***
nemp 2.87e-06 1.04e-07 27.63 < 2e-16 ***
as.factor(corridor1)A -8.81e-02 2.13e-02 -4.14 3.6e-05 ***
as.factor(corridor1)B