Displaying 20 results from an estimated 9000 matches similar to: "gss package - error message in predict"
2001 May 07
1
gss package - predict.ssanova
Hi
I'm using the gss package to fit thin plate splines. I've fitted the tps
without problems and got a ssanova object. Then I wanted to do some
prediction using a new set of data (latlon data) and I got an error
message:
> predict.ssanova(recs.spliney,recn.grid,se.fit=FALSE)
Error in array(x, c(length(x), 1), if (!is.null(names(x)))
list(names(x), :
attempt to set an
2001 Jun 08
1
gss package
Hi
I would like to know if the "penalty associated with the fit" that is
printed by the summary.ssanova function is the smoothing parameter
(\lambda) of the criterion function that's minimized to find f.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2001 Apr 06
2
thin plate splines
Hi
Does someone knows if there's a function/package that can make thin
plate splines ? I've looked in mgcv and splines but I haven't found
anything.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
2003 Jan 23
2
Exporting graphics window
Hi
I'm working on a remote computer with R (SuSE 8.1) and I want to do some
ploting. Does anyone knows if it is possible to export the graphics
window in to my display and how I can do it ?
Thanks
EJ
--
Ernesto Jardim <ernesto at ipimar.pt>
Marine Biologist
Research Institute for Agriculture and Fisheries
Lisboa, Portugal
Tel: +351 213 027 000
Fax: +351 213 015 948
2003 Apr 14
6
Charts to M$Word - what's the best format
Hi
I'm exporting some graphs from R to M$Word. I used png, jpeg and bmp and
the quality is poor when comparing with the postscript.
What is the best way to export a chart to be included in a M$Word file ?
Thanks
EJ
2003 Jan 24
4
memory problems
Hi
I'm computing a bca interval using bca.ci from the boot package.
When I try to use this I get an error
> library(boot)
> boot(logglm.data,boot.fishpower,2500,coef.vec=coeflm.vec)->blm8901
> bca.ci(blm8901,index=29)
Error: cannot allocate vector of size 456729 Kb
However my machine has 2GB of memory and without R running I only have
112M of memory used.
Is there something
2000 Oct 02
2
R function for "interp"
Hi
How can I do the same has interp in s+ with R ? I've looked to
"approxfun" but didn't figured out how to do it.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body",
2004 Mar 12
5
grep
Hi,
I want to use the first digit of the elements of a vector.
I've tried grep but didn't work.
Any help is welcome.
Thanks
EJ
> grep("^[0-9]",as.character(runif(100,0,2)))
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18
[19] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35 36
[37] 37 38 39 40 41 42 43 44 45
2003 Jan 16
1
bootstraping lm
Hi
I'm doing a bootstrap of a linear model using:
boot.fishpower <- function(data, i){
data <- data[i,]
fplm <- lm(log(U)~Q+S+P+B+D, data=data)
fp <- coef(fplm)
exp(fp)
}
> boot(logglm.data,boot.fishpower,100)
Error in "[<-"(*tmp*, r, , value = statistic(data, i[r, ], ...)) :
number of items to replace is not a multiple of replacement
length
2003 Jan 09
2
GAM with Thin plate splines
Hello, I'm a student at the University of Klagenfurt / Austria and I
need some help !
I have to predict 24 daily load-values.
Therefor I got a dataset with following colums:
24 past daily load-values
6 past daily temperature-values
My goal is to find a model (GAM with thin plate splines) in R.
I found the function "gam" in the R-library "mgcv", but it just fits
2003 Jul 03
2
unlist
Hi
I have a list with several data.frames, all with the same number of
colunms but different number of rows, and I'd like to transform this
list into a single dataframe. I need to mimic an rbind of all dataframes
...
Transform doesn't seem to work :-(
Thanks
EJ
--
Ernesto Jardim <ernesto at ipimar.pt>
Bi?logo Marinho/Marine Biologist
IPIMAR - Instituto Nacional de Investiga??o
2003 Apr 03
3
How to organize/develop an R function
Hi
Maybe this is not an issue about R. It's probably a programming issue
and I am not a developer at all. Anyway my main developing activities
are in R and that's where I have difficulties.
When I develop a function or group of functions I lose eternities with
the objects attributes and classes. I do a lot of object manipulation
(lists to arrays, factors to numeric vectors, etc, etc) so
2005 Jan 07
3
lognorm
Hi!
I 've a problem to have a lognorm distribution with
mean=1 and var (or sigma)=1.
rlnorm(1000,0,0)
rlnorm(1000,1,1)
rlnorm(1000,0,1)
.... ?
Can you help me?
2000 Aug 21
4
Excluding rows from a matrix
Hi
I have a matrix (4 x 950) and I want to remove 3 rows, where the values
from the first column are 713, 714 and 715. I can select the rows, one
by one, with
mat[mat$first==713,]
mat[mat$first==714,]
...
but I'm unable to (i) select the 3 rows at once, (ii) select the matrix
excluding those rows.
How can I do it ?
Thanks
EJ
2001 Jul 02
1
How to reference an R package ?
Hi
Once more I have doubts about references.
I want to give a reference of the packages I've used (gss, MASS, geoR).
For the gss package I'm using
@TechReport{gss00,
Author = {Chong Gu},
Title = {The gss package},
Institution = {CRAN},
year = 2000,
month = {22 } # dec,
}
and something similar for the others, but this doesn't look
2002 May 09
2
Trim function ?
Hi
I've imported some data from a oracle database and the strings have a
lot of blank space (because of the delimiter). I want to remove these
blanks space with something similar to a trim function.
I don't find a trim function or something similar. Can someone give a
help on this ?
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2001 Apr 03
2
Importing from Splus (PR#891)
Full_Name: Ernesto Jardim
Version: 1.2.2
OS: SuSE Linux 6.4
Submission from: (NULL) (193.137.98.92)
I wanted to import an array, dim=c(28,12,17), from splus into R.On splus I did
dump(c("array"),file="dump.out)
I checked and Splus could source it.
Than, in R I tryied to source it with:
source("dump.out")
and got and error message:
> source("dump.out")
2002 Oct 10
1
NEdit Highligth patterns for R
Hi
I've just submitted to the NEdit development team a R highligth patterns
for NEdit (www.nedit.org).
NEdit is a text editor for LINUX which I use to write small R functions.
In my opinion is a very good tool for small scripts, maybe for huge
projects is not the best.
I'm attaching the R-5.1.pats file so you can try it.
As usual contributions and comments are welcome.
Regards
EJ
2002 Jul 09
3
Error handling
Hi
I wrote a function implementing an algoritm for simulation of spatial
sampling plans (using geoR).
I'm using a range of parameters to perform several simulation and
sometimes this parameters create function errors wich cause the algoritm
to stop.
How can I avoid this ?
Below there's a small example that I made to study the problem but I was
not able to solve it. I've tried
2005 Jul 07
2
R under suse linux 9.3
Hi, dear list members,
I've been using R under windows XP and I am now changing
my system to SUSE LINUX 9.3.
I could figure out that there is no precompiled version
of R for LINUX. To get me going, I would like your help
regarding what I need to setup R under my SUSE LINUX.
Which compiler do I need to be able to compile the source
and I was wondering if I could get GNU compiler?