Displaying 17 results from an estimated 17 matches similar to: "lapply and SpatialGridDataFrame error"
1999 Jul 26
0
ESRI Shapefile reader (help with dlls)
Hi,
I am working on a library of map functions for R and I have started
with code to read shapefiles (the format is not great but it is ubiquitous).
I am not a windows person, but where I am working I don't have access to
any UNIX machines easily. So here's the problem I wrote C code to read
the information out of the shapefile header and I compiled it using
the script given in Ripley and
2010 Jul 20
2
data from SpatialGridDataFrame
Dear All,
I have a raster map of the class 'SpatialPointsDataFrame' and coordinates
of the class 'SpatialPoints'. I would like to retrieve the values that are
contained in the raster map at the specific locations given by the
coordinates.
Can anyone help me out?
Kind regards,
Katrin Fleischer
2012 Jun 06
2
R2BayesX (command bayesx) doesn't work
Hi all,
I have a problem with the library R2BayesX, when i try to use the command
bayesx i get this error:
dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib
Referenced from:
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/BayesXsrc/libs/i386/BayesX
Reason: image not found
I obtain this message also with the example in the bayesx help:
## generate some data
2010 Jun 12
1
extended Kalman filter for survival data
If you mean this paper by Fahrmeir: http://biomet.oxfordjournals.org/cgi/content/abstract/81/2/317 I would recommend BayesX: http://www.stat.uni-muenchen.de/~bayesx/.
BayesX interfaces with R and estimates discrete (and continuous) time survival data with penalized regression methods.
If you are looking for a bona fide Bayesian survival analysis method and do not wish to spend a lot of time
2012 Jun 06
3
Predict in the package R2BayesX
Hi all
I'm using the function bayesx to estimate a simple model, for example:
library(R2BayesX)
## generate some data
set.seed(111)
n <- 200
## regressor
dat <- data.frame(x = runif(n, -3, 3))
## response
dat$y <- with(dat, 1.5 + sin(x) + rnorm(n, sd = 0.6))
## estimate models with
## bayesx REML and MCMC
b1 <- bayesx(y ~ sx(x), method = "REML", data = dat)
I want
2016 Apr 22
0
R2BayesX help
Hi,
I wonder if anyone can help me with this issue. I am using R2BayesX. It
seems that the model can maximally contain 20 interactions. When the number
of interaction terms exceed 20, the code stops working. Here is a piece of
toy code.
rm(list=ls())
library(BayesX)
library(R2BayesX)
#data generating model
f2<-function(x1,x2,x3,x4)
{
y<-2*sin(pi*x1)*1.5+exp(2*x2)/3+2 * sin(4 * pi * (x3
2009 Feb 07
1
paraPen in gam [mgcv 1.4-1.1] and centering constraints
Dear Mr. Simon Wood, dear list members,
I am trying to fit a similar model with gam from mgcv compared to what I
did with BayesX, and have discovered the relatively new possibility of
incorporating user-defined matrices for quadratic penalties on
parametric terms using the "paraPen" argument. This was really a very
good idea!
However, I would like to constraint the coefficients
2010 Apr 14
1
Selecting derivative order penalty for thin plate spline regression (GAM - mgcv)
Hi,
I am using GAMs (package mgcv) to smooth event rates in a penalized regression setting and I was wondering if/how one can
select the order of the derivative penalty.
For my particular problem the order of the penalty (parameter "m" inside the "s" terms of the formula argument) appears to
have a larger effect on the AIC/deviance of the estimated model than the
2010 Jul 27
3
Checking package licences including dependencies?
I only recently discovered options("available_packages_filters" =
list(add = TRUE, "license/FOSS")) [cf. help("available.packages",
package="utils") in R 2.10.0 or later] which goes nicely with my
options("checkPackageLicense" = TRUE) [new in R 2.11].
But now I want to purge my library of packages I would not have
installed had I known about
2012 May 25
2
problem with installing rms package
Hi
I am trying to install "rms" package but while installing it shows
following error
package 'survival' 2.36-2 is loaded, but >= 2.36.3 is required by 'rms'
what to do?
i am using linux OS
I have tried by updated r-base-core but it didnt work
regards
GRR
[[alternative HTML version deleted]]
2015 Feb 05
3
Rcurl crash in R-devel
Hello,
I don't know if the problem originates from R-devel 3.2 or Rcurl itself.
I post this message to the R-devel list and to the author of RCurl
(duncan at r-project.org).
> library("RCurl")
Le chargement a n?cessit? le package : bitops
> print(sessionInfo())
R Under development (unstable) (2015-02-03 r67717)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under:
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* Bergm (1.0)
Alberto Caimo
http://crantastic.org/packages/Bergm
Functions implementing Bayesian estimation for exponential random
graph models via exchange algorithm
Updated packages
----------------
lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21),
r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),
2010 Nov 22
1
RCurl : All connection are used ?
Hi everybody,
I got a problem with the ftpUpload function from the RCurl package. My goal is to Upload a lot of files from a local directory to a web server.
1st try :
for (i in 1:length(file)){
ftpUpload(what=files[i],to=files[i])
}
At i=11 I get : (my server has only 10 available open connections available) :
Erreur dans curlPerform(url = to, upload = TRUE, readfunction =
2011 Jan 22
0
how to call BayesX in R to see the graph
Hi Everybody,
please can you help me how to call BayesX in R in order to see the graph
already exist in BayesX
Thanks
---------- Forwarded message ----------
From: <r-help-request@r-project.org>
Date: Sat, Jan 22, 2011 at 5:00 AM
Subject: R-help Digest, Vol 95, Issue 22
To: r-help@r-project.org
Send R-help mailing list submissions to
r-help@r-project.org
To subscribe or
2015 Feb 06
0
Rcurl crash in R-devel
Update taking into account the answer of Prof Ripley.
___________________________________________________
Below is a reproducing example that produces the crash.
If I do exactly the same in R 3.1.2, it works perfectly.
I have the lastest libcurl library (curl @7.40.0) installed
So, perhaps indeed that the problem originates from RCurl, but the
problem appears only in R 3.2.
But before to
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,
Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.
One function that has me stumped is "sink." Can anyone tell me if this stands for something?
Thanks,
Paul
__________________________________________________
[[alternative HTML
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
Hi Louis,
It's simple to run a r script from the excel spreadsheet.
Just write your code, source("C:\\Quantil
Aplicativos\\Genercauca\\BackwardSelectionNC.r"), into a cell of a
workingsheet. Then right-click the cell and select "run code" in the pop-up
menu.
Hope this will help you.
Best,
Bernard
-----????-----
???: r-help-bounces at r-project.org [mailto:r-help-bounces