search for: ba2

Displaying 20 results from an estimated 182 matches for "ba2".

Did you mean: a2
2001 Apr 23
4
Time series in R
...ious, or are these functions not yet built? Chris Rogers ----------------------------------------------------------------------- L C G Rogers, Professor of Probability tel:+44 1225 826224 Department of Mathematical Sciences fax:+44 1225 826492 University of Bath, Bath BA2 7AY, GB Email: L.C.G.Rogers at bath.ac.uk web: www.bath.ac.uk/~maslcgr/home.html ----------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/...
2006 Jun 07
10
habtm "AND" find conditions
I have two tables and a join table for them e.g. books, authors in a many to many relationship (habtm) and a join table books_authors. I can successfully search for a book that has "author.id = 2 OR author.id = 4" but I am unable to search for "author.id = 2 AND author.id = 4" This is because the result of all the joins only has one author.id column so no single row has
2007 Oct 02
3
mcv package gamm function Error in chol(XVX + S)
Hi all R users ! I'm using gamm function from Simon Wood's mgcv package, to fit a spatial regression Generalized Additive Mixed Model, as covariates I have the geographical longitude and latitude locations of indexed data. I include a random effect for each district (dist) so the code is fit <- gamm(y~s(lon,lat,bs="tp", m=2)+offset(log(exp.)), random=list(dist=~1),
2008 Jun 09
0
Fwd: mgcv 1.4 on CRAN
...as been added. See ?adaptive.smooth. * The interface for adding user defined smooths has been modified and simplified. See ?smooth.construct. A fuller list of changes is at http://cran.r-project.org/web/packages/mgcv/ChangeLog -- > Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK > +44 1225 386603 www.maths.bath.ac.uk/~sw283 ------------------------------------------------------- -- > Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK > +44 1225 386603 www.maths.bath.ac.uk/~sw283 _______________________________________________ R-pa...
2008 Jan 11
0
Re-Casting
...below. df$today: identifier rtgmdy rtgmdy_dt rtgmdy_watch rtgmdy_nowatch rtgmdy_watch_dt rtgsp rtgsp_dt 310000031 Aa3 20050701 Aa3 NA AA- 20050510 310000086 B1 20070920 B1 NA B+ 20070828 310000106 Baa2 20040326 Baa2 NA BBB 20051003 310000170 Baa3 20070601 Baa3 NA BBB+ 20051024 310000225 Ba2 20070601 Ba2 NA BB+ 20070423 310000386 Baa3 20070320 Baa3 NA BBB- 20040331 df$20050701: identifier rtgmdy rtgmdy_dt rtgmdy_watch rtgmdy_nowatch rtgmdy_watch_dt rtgsp rtgsp_dt 310000031 Aa2 20030501 Aa3 NA AA- 20050510 I want to re-cast the combination of df$today and df$20050701...
2008 Jun 09
0
Fwd: mgcv 1.4 on CRAN
...as been added. See ?adaptive.smooth. * The interface for adding user defined smooths has been modified and simplified. See ?smooth.construct. A fuller list of changes is at http://cran.r-project.org/web/packages/mgcv/ChangeLog -- > Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK > +44 1225 386603 www.maths.bath.ac.uk/~sw283 ------------------------------------------------------- -- > Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK > +44 1225 386603 www.maths.bath.ac.uk/~sw283 _______________________________________________ R-pa...
2011 May 17
1
adding up elements within a list
...ength(names(intvl.periods.myrs)) { my.new.vector<-sum(intvl.periods.myrs[i] } This does not work and probably for obvious reasons. Thanks Martin -- Martin Hughes MPhil/PhD Research in Biology Rm 1.07, 4south University of Bath Department of Biology and Biochemistry Claverton Bath BA2 7AY Tel: 01225 385 437 M.Hughes at bath.ac.uk http://www.bath.ac.uk/bio-sci/biodiversity-lab/hughes.html
2002 Nov 27
1
R on the Zaurus
...at there are two types of NaNs in the ieee 754 standard, QNaN (Quiet NaN) and SNaN (Signalling NaN). Does 8.29488e-311 look familiar (I didn't think so)? Regards, Simon -------------------------------------------- Simon Pickering MEng Dept. of Mechanical Engineering University of Bath Bath, BA2 7AY, UK Tel: +44 (0)1225 383314 Fax: +44 (0)1225 386928 -------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help"...
2006 Apr 11
1
gaussian family change suggestion
...t;- y<=0 if (sum(iy)) mustart[iy] <- min(y[!iy])*.5 } else if (family$link=="inverse") { iy <- y==0 if (sum(iy)) mustart[iy] <- min(abs(y[!iy]))*.5 } }) best, Simon >- Simon Wood, Mathematical Sciences, University of Bath, Bath BA2 7AY >- +44 (0)1225 386603 www.maths.bath.ac.uk/~sw283/
2011 Jan 14
1
naresid.exclude query
...is comment after it.... # << FIXME? -- reconstructing all NA object ... so I guess I'm really asking if there is any chance of fixing this soon, or whether I should just code up a work-around for predict.gam? Simon -- > Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK > +44 1225 386603 www.maths.bath.ac.uk/~sw283
2010 Oct 08
1
many datasets run with one R script in a computer cluster
...="\t") PA<-as.matrix(pa[,-c(1)]) rownames(PA)<-(pa[,1]) OCHAR<-c() source("DISPARITY.R") library(calibrate) ### Thanks Martin -- Martin Hughes MPhil/PhD Research in Biology Rm 1.07, 4south University of Bath Department of Biology and Biochemistry Claverton Bath BA2 7AY Tel: 01225 385 437 M.Hughes at bath.ac.uk http://www.bath.ac.uk/bio-sci/biodiversity-lab/hughes.html
2012 Feb 17
2
Error message in gamm. Problem with temporal correlation structure
HELLO ALL, I AM GETTING AN ERROR MESSAGE WHEN TRYING TO RUN A GAMM MODEL LIKE THE ONE BELOW. I AM USING R VERSION 2.14.1 (2011-12-22) AND MGCV 1.7-12. M1 <-gamm(DepVar ~ Treatment + s(Year, by =Treatment), random=list(Block=~1), na.action=na.omit, data = mydata, correlation = corARMA(form =~ Year|Treatment, p = 1, q = 0)) THIS IS THE ERROR MESSAGE Error in `*tmp*`[[k]] : attempt to
2006 Jun 24
3
getting the smoother matrix from smooth.spline
Can anyone tell me the trick for obtaining the smoother matrix from smooth.spline when there are non-unique values for x. I have the following code but, of course, it only works when all values of x are unique. ## get the smoother matrix (x having unique values smooth.matrix = function(x, df){ n = length(x); A = matrix(0, n, n); for(i in 1:n){ y = rep(0, n); y[i]=1; yi =
2010 Oct 07
2
text/mtext axis labels on graphs
...an an angle Can anyone tell me of a way I can have both - ie text that is a specified distance from the margin AND tilted at and angle Thanks Martin -- Martin Hughes MPhil/PhD Research in Biology Rm 1.07, 4south University of Bath Department of Biology and Biochemistry Claverton Bath BA2 7AY Tel: 01225 385 437 M.Hughes at bath.ac.uk http://www.bath.ac.uk/bio-sci/biodiversity-lab/hughes.html
2011 Nov 09
2
Problem with simple random slope in gam and bam (mgcv package)
Dear useRs, This is the first time I post to this list and I would appreciate any help available. I've used the excellent mgcv package for a while now to investigate geographical patterns of language variation, and it has has always worked without any problems for me. The problem below occurs using R 2.14.0 (both 32 and 64 bit versions in Windows and the 64 bit version in Unix) and mgcv (both
2012 Feb 13
3
mgcv: increasing basis dimension
hi Using a ts or tprs basis, I expected gcv to decrease when increasing the basis dimension, as I thought this would minimise gcv over a larger subspace. But gcv increased. Here's an example. thanks for any comments. greg #simulate some data set.seed(0) x1<-runif(500) x2<-rnorm(500) x3<-rpois(500,3) d<-runif(500) linp<--1+x1+0.5*x2+0.3*exp(-2*d)*sin(10*d)*x3
2011 Jul 19
2
Incorrect degrees of freedom for splines using GAMM4?
Hello, I'm running mixed models in GAMM4 with 2 (non-nested) random intercepts and I want to include a spline term for one of my exposure variables. However, when I include a spline term, I always get reported degrees of freedom of less than 1, even when I know that my spline is using more than 1 degree of freedom. For example, here is the code for my model: >
2007 Oct 09
2
Help with gamm errors
Dear All Hopefully someone out there can point out what I am missing! I have a (large, several hundred) dataset of gardens in which over two years the presence/absence of a particular bird species is noted each week. I have good reason to believe there is a difference between the two years in the weekly proportion of gardens and would like to assess this, before going on to look in more detail at
2008 Oct 29
0
problems with opensuse 11 running xen on a Sun X4150
...e kernel read-only data" Can anyone provide me with any clues, either on the aacraid issue or on getting a 32-bit dom0 to boot from a 64-bit hypervisor? I am reluctant to chuck away 16GB of ram. Thanks Bob -- Bob Cregan Unix Systems Administrator 1 Riverside Court Lower Bristol Road Bath BA2 3DZ Tel: +44 845 0346734 Mobile: 07712388129 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2009 Mar 04
0
mgcv 1.5-0
...L smoothness selection are now available. * A Tweedie family has been added. * `gam.method' has been replaced (see arguments `method' and `optimizer' for `gam') For other changes see the changeLog. Simon -- > Simon Wood, Mathematical Sciences, University of Bath, Bath, BA2 7AY UK > +44 1225 386603 www.maths.bath.ac.uk/~sw283 _______________________________________________ R-packages mailing list R-packages at r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages