Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

241 results for “from:Kingsford Jones”

Help to save the value of "Multiple R-Squared" in a a simple regression model
Kingsford Jones · Apr 12, 2009 · r-sig-geo

On Sun, Apr 12, 2009 at 10:23 AM, gianni lavaredo <gianni.lavaredo at gmail.com> wrote: > Dear R User, > > "Buona Pasqua". > I have a simple regression model > > myModel <- lm( y ~ x) > Summary(myModel) > > I wish to save the value...

predict function problem for glmmPQL
Kingsford Jones · Jan 22, 2009 · r-help

On Thu, Jan 22, 2009 at 10:48 PM, Chun Zhang <usamelie at yahoo.com> wrote: > Hi all, > I am using cross-validation to validate a generalized linear mixed effects model fitted using glmmPQL. i found that the predict function...

corspatial
Kingsford Jones · Jul 9, 2009 · r-help

On Thu, Jul 9, 2009 at 6:12 PM, Kitty Lee<lee.kitty at yahoo.com> wrote: > > Hi. I have a dataset of unique coordinates (no missing coordinates). When I did the following: > > lonlat<-mydata[, c("lon, "lat")] > sp1<-corSpatial...

listing functions in base package
Kingsford Jones · Mar 4, 2009 · r-help

On Wed, Mar 4, 2009 at 8:40 PM, Fuchs Ira <irafuchs at gmail.com> wrote: > So functions in the base package are all written in C? No, a large proportion are written in R and the code can be...

Neighbor sampling is random?
Kingsford Jones · Jul 4, 2009 · r-sig-ecology

This may help a bit with intuition. Think about randomly picking a spot in the box below and then choosing the nearest neighbor. What's the inclusion probability for 1? What about 6? Clearly not a simple random sample... ----------- |123...

function to generate weights for lm?
Kingsford Jones · Apr 29, 2008 · r-help

On Tue, Apr 29, 2008 at 6:20 AM, tom soyer <tom.soyer at gmail.com> wrote: > Hi, > > I would like to use a weighted lm model to reduce heteroscendasticity. I am > wondering if the only way to generate the...

comparing the previous and next entry of a vector to a criterium
Kingsford Jones · Jan 25, 2009 · r-help

How about: a <- c(1,2,3,3,2,1,6,3,2) b <- c(NA,a[-length(a)]) c <- c(a[-1],NA) a[b==1 & c==3] [1] 2 6 hth, Kingsford Jones On Sun, Jan 25, 2009...

Help plotting image to window without margin
Kingsford Jones · Apr 8, 2009 · r-help

See 'mar' under ?par e.g., x <- y <- -100:100 z <- outer(x, y, function(x,y) sqrt(x^2 + y^2)) par(mar=c(0,0,0,0)) image(x,y,z) hth, Kingsford Jones On Wed, Apr 8...

Easy method to set user-mode virtual memory space in Windows Vista and 7
Kingsford Jones · Oct 28, 2009 · r-help

I thought I'd share this with the list since it appears to provide a quick fix to some memory problems, and I haven't see it discussed in relation to R. To reallocate virtual memory from kernel-mode to...

I'm looking for a book about spatial point patterns (Diggle, 2003)
Kingsford Jones · Jan 11, 2009 · r-help

Unangu, If you haven't seen the 200pg workshop notes that Adrian Baddeley has made available from his spatstat webpage, I highly recommend them: http://www.csiro.au/files/files/pn0y.pdf hth, Kingsford Jones On Sat, Jan 10, 2009...

lme: random effect nested within fixed effect
Kingsford Jones · Apr 6, 2010 · r-sig-mixed-models

On Tue, Apr 6, 2010 at 3:37 PM, Andrew Dolman <andydolman at gmail.com> wrote: [snip] > > This is not entirely correct. The syntax will work because the populations > are uniquely labeled but it does not model population as nested...

code to find all distinct subsets of size r from a set of size n
Kingsford Jones · Mar 13, 2009 · r-help

For permutations a couple of options are 'permutations' in package gtools, and 'urnsamples' in package prob hth, Kingsford Jones On Fri, Mar 13, 2009 at 6:35 AM, Dale Steele <dale.w.steele at gmail.com> wrote: > I'm doing...

Figures in Latex
Kingsford Jones · Jul 23, 2010 · r-help

to make the desired within R's plotting device rather than in latex try: par(mfrow = c(3, 2)) and you'll probably want to adjust other mar, parameters as well (e.g. mar, cex.lab, etc). Or, take advantage...

maps maptools
Kingsford Jones · Jun 22, 2009 · r-help

Hi John, The SIDS examples in the spatial graphics gallery may be helpful: http://r-spatial.sourceforge.net/gallery/ For a general reference, see Applied Spatial Data Analysis with R. Note that the book's webpage includes figures with code...

Google's R Style Guide
Kingsford Jones · Aug 28, 2009 · r-help

A few thoughts: -- As for naming preferences, in an interactive R session or answering an R-help question I'm glad I can type lm(log(y) ~ atan(x)) rather than FitLinearModel(CalculateNaturalLogarithm(y) ~ CalculateInverseTangent(x)) -- For consistency, their function...

plotting numeric v. factor variables
Kingsford Jones · Jun 5, 2009 · r-sig-ecology

Hi Bessie, library(lattice) x <- rep(1:3, each=20) y <- rnorm(60, x) x <- c('level1', 'level2', 'level3')[x] stripplot(y ~ x) # or perhaps stripplot(x ~ y, jitter=TRUE) Kingsford Jones On Fri, Jun 5, 2009 at 5:02...

adehabitat - data projection
Kingsford Jones · Jan 29, 2010 · r-sig-ecology

Hi Danielle, If you don't get an answer here you might want to look at chapter 4 of Applied Spatial Data Analysis with R, or ask on the r-sig-geo list. hth, Kingsford On Thu, Jan 28, 2010...

removing random effect from nlme or using varPower() in nls
Kingsford Jones · Oct 22, 2009 · r-help

help(gnls, pack=nlme) hth, Kingsford Jones On Thu, Oct 22, 2009 at 4:36 PM, Michael A. Gilchrist <mikeg at utk.edu> wrote: > Hello, > > I've been fitting a random effects model using nlme to some data, but I...

What is the R equivalent of STATA's 'drop' command?
Kingsford Jones · Feb 9, 2009 · r-help

See ?"[" and its examples Also, section 2.7 of An Introduction to R is a good place to start: http://cran.r-project.org/doc/manuals/R-intro.html#Index-vectors hth, Kingsford Jones On Mon, Feb 9, 2009 at...

Robust ANOVA or alternative test?
Kingsford Jones · Nov 2, 2009 · r-help

See the nlme library and accompanying book by Pinheiro and Bates. The lme function is appropriate for linear mixed models with normal errors, and the 'weights' argument provides flexible methods for modeling error heterogeneity. hth, Kingsford On Mon, Nov 2...

Can't find what you're looking for? Try searching with Google .