search for: theoni

Displaying 2 results from an estimated 2 matches for "theoni".

Did you mean: theone
2006 Dec 10
0
Offset for Poisson GLM
...he desired offset, rather than a column in my data frame, I'm not sure how to specify that as an offset in the model: glm(counts ~ as.factor(year) + as.factor(month) + as.factor(TOD) + sightability, data=count.data, family=poisson, offset=log(???)) Any ideas will be much appreciated! Thanks, Theoni Photopoulos -- Theoni Photopoulos, MRes Candidate Gatty Marine Laboratory School of Biology University of St Andrews St Andrews, Scotland tp14@st-andrews.ac.uk [[alternative HTML version deleted]]
2009 Nov 20
1
problem selecting 330 to 30 longitude
...e but I am trying to select a region from the OIv2 SST dataset that crosses 0 longitude. The longitude variable is arranged from 0 to 360 and I get an error message when trying to go from 330 to 30 for example. The data are from a NOAA netCDF file. *temp = open.ncdf("c:/documents and settings/theoni/desktop/sstoi_v2.nc") print(temp) y1 = get.var.ncdf( temp, "latitude") x1 = get.var.ncdf( temp, "longitude") t1 = get.var.ncdf( temp, "time") z1 = get.var.ncdf( temp, "sst") sst = get.var.ncdf( temp, "sst", start=c(330,136,313), count=c(56,44,1...