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”

pwr package
Kingsford Jones · May 5, 2008 · r-help

see ?library You need to load the package before R can access its functions. Kingsford Jones On Mon, May 5, 2008 at 12:18 PM, <samar at sce.carleton.ca> wrote: > Hello, > > I'm a new user of the R...

Partitioning matrix
Kingsford Jones · Jun 23, 2009 · r-help

see ?"[" and notice the 'drop' argument. So in your example try dat[1, , drop=FALSE] hth, Kingsford On Tue, Jun 23, 2009 at 1:13 AM, Bogaso<bogaso.christofer at gmail.com> wrote: > > Let say, I have following matrix : > > dat...

lmer and splines
Kingsford Jones · Mar 22, 2010 · r-sig-mixed-models

Hi Federico, The amer and gamm4 packages will fit GAMMs using lme4. hth, Kingsford On Mon, Mar 22, 2010 at 8:06 AM, Federico Calboli <f.calboli at imperial.ac.uk> wrote: > Hi everyone, > > I'd be interested in fitting...

explalinig the output of my linear model analysis
Kingsford Jones · Oct 27, 2009 · r-help

...which would complement the apropos fortune from John Fox: > library(fortunes) > fortune('dangerous') If you give people a linear model function you give them something dangerous. -- John Fox useR! 2004, Vienna (May 2004) On Tue, Oct 27, 2009 at 12...

population variance and sample variance
Kingsford Jones · Oct 19, 2009 · r-help

> sum((x-mean(x))^2)/(n) [1] 0.4894708 > ((n-1)/n) * var(x) [1] 0.4894708 hth, Kingsford On Mon, Oct 19, 2009 at 9:30 AM, Peng Yu <pengyu.ut at gmail.com> wrote: > It seems that var...

variance on random effects in the lme() function
Kingsford Jones · Feb 25, 2009 · r-sig-ecology

You can use VarCorr to extract the values, but (oddly enough) it returns values as character so you need to use 'as.numeric. Here's an example: library(nlme) f1 <- lme(distance ~ age, data = Orthodont, random = ~1 + age|Subject) summary...

data from SpatialGridDataFrame
Kingsford Jones · Jul 20, 2010 · r-help

see ?sp::overlay and section 5.2 of Applied Spatial Data Analysis with R I see there is now also raster::overlay, but I can't claim experience with that funciton (however my impression is that the raster package is...

VEC Operator in R
Kingsford Jones · Oct 23, 2008 · r-help

RSiteSearch('vec vech', restrict = 'fun') turns up several packages with vec and vech functions. E.g., matrixcalc, fUtilities, ks, ... hth, Kingsford Jones On Thu, Oct 23, 2008 at 11:47 AM, megh <megh700004 at yahoo.com> wrote: > > Can anyone please...

how to generate a random correlation matrix with restrictions
Kingsford Jones · Aug 28, 2009 · r-help

Ahh -- Mark Leeds just pointed out off-list that it was supposed to be a correlation matrix. Perhaps R <- matrix(runif(10000), ncol=100) R <- (R * lower.tri(R)) + t(R * lower.tri(R)) diag(R) <- 1 These are of...

How to google for R stuff?
Kingsford Jones · May 20, 2009 · r-help

A couple more ideas... If you find reading code useful, try specifying filetype:r in Google (e.g., do.call filetype:r) For firefox users, the R wiki provides search tips here: http://wiki.r-project.org/rwiki/doku.php...

3 curves / 1 plot
Kingsford Jones · Oct 2, 2008 · r-help

example(matplot) or ?points On Thu, Oct 2, 2008 at 11:43 AM, Michel PETITJEAN <michel.petitjean at cea.fr> wrote: > I am a new user of R. > Please does somebody knows how to plot 3 datasets > (x1,a1),...,(xn...

Post-hoc and planned comparisons for repeated measures
Kingsford Jones · Mar 29, 2009 · r-help

Hi Dwight, The answer likely depends on how you are fitting the model. Have a look at the multcomp package and its vignettes to see if it can handle the model class you are interested in. hth, Kingsford Jones On...

identifying clusters between sets of points
Kingsford Jones · Apr 15, 2009 · r-sig-geo

Hi Sam. The spatstat package provides a variety of tools for working with multitype marked point patterns. See Part IV of Adrian Baddeley's spatstat workshop notes, which can be accessed here: http://www.csiro.au/resources/Spatial-Point-Patterns...

R package for Hierarchical Modelling of Multinomial Logistic Regression
Kingsford Jones · Jul 28, 2009 · r-help

See the Bayesian Task View http://cran.r-project.org/web/views/Bayesian.html which will lead you to the arm and bayesm packages, among others. hth, Kingsford On Tue, Jul 28, 2009 at 1:54 AM, nikolay12<nikolay12 at...

Introduction to mark-recapture analysis in R?
Kingsford Jones · Oct 13, 2009 · r-help

see https://stat.ethz.ch/pipermail/r-sig-ecology/2008-May/000160.html hth, Kingsford On Tue, Oct 13, 2009 at 6:00 AM, Anne-Katrin Link <anne.link at gmx.de> wrote: > Normal ? ? ? ?0 ? ? ? ?21 ? ? ? ? ? ? ? ? ? ? ? ?false ? ? ? ?false > false > MicrosoftInternetExplorer4...

How to plot a Quadratic Model?
Kingsford Jones · Oct 5, 2009 · r-help

see ?curve e.g. qftn <- function(x) 1 + 2*x - .1*x^2 curve(qftn, 0, 10) hth, Kingsford On Mon, Oct 5, 2009 at 9:42 AM, Juliano van Melis <jvmelis at gmail.com> wrote: > Good day for all...

lapply across using multiple columns
Kingsford Jones · Jun 23, 2009 · r-help

try: dfr <- data.frame(A=rnorm(50), B=runif(50), X=factor(sample(c('L1','L2'),50,repl=TRUE))) by(dfr[, 1:2], dfr$X, mean) hth, Kingsford Jones On Tue, Jun 23, 2009 at 7:57 PM, R_help...

How to do Clustered Standard Errors for Regression in R?
Kingsford Jones · Sep 17, 2008 · r-help

Bo, Try using RSiteSearch with the strings 'huber-white', 'sandwich' or even 'clustered standard errors'. You may also want to consider a mixed models approach -- see: http://www.stat.columbia.edu/~cook/movabletype/archives/2007/11/clustered_stand.html HTH...

Correlation matrix one side with significance
Kingsford Jones · Jan 25, 2009 · r-help

On the topic of visualizing correlation, see also Murdoch, D.J. and Chow, E.D. (1996). A graphical display of large correlation matrices. The American Statistician 50, 178-180. with examples here: # install.packages('ellipse') example(plotcorr, package='ellipse') On...

Determine the Length of the Longest Word in a String
Kingsford Jones · Apr 10, 2009 · r-help

On Fri, Apr 10, 2009 at 2:40 PM, Shadley Thomas <shadley.thomas at gmail.com> wrote: [snip] > My question -- > It seems inefficient to determine which element is the longest and then > calculate the length of that longest element. ?I...

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