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.

12 results for “from:chris20”

deleting rows containing a letter
chris20 · May 11, 2011 · r-help

Excellant! Thanks both for your replies. I've never used grep, I do use negative indexing but usually: -which(..... %in% .... -- View this message in context: http://r.789695.n4.nabble.com/deleting-rows-containing-a-letter-tp3514473p3514829.html Sent from...

Orthogonal polynomial contrasts
chris20 · Apr 10, 2008 · r-help

How do you remove one of the terms from an ordered polynomial contrast in your linear model. For example, I have significant terms for linear and cubic but not quadratic, how would i remove the quadratic term from lm(response...

barchart with stacked and beside bars
chris20 · Jan 21, 2010 · r-help

I want n0 side by side then a gap and then n96 like in the first script "barplot(bio,beside=T)" I have done it in Excel but I had to put in some artifical zeros to produce the gap...

deleting rows containing a letter
chris20 · May 11, 2011 · r-help

Hi I have dataframe with different plot numbers in and different subplots as letters at the end of the plot number i.e. 1a, 1b 2-1a etc. I want to delete all rows that end in a specific letter...

adding a reference line to an xyplot
chris20 · Feb 20, 2009 · r-help

Hi, I want to add a dashed vertical line to a number of xyplots. Here is a simple script of the type of plot I have but then I want to add a reference line to 1995 on each of...

combing list objects
chris20 · Sep 3, 2012 · r-help

Hi, I am trying to combine a long list but I can't work out how to do it, for example: abun<-list(rep(0,5),rep(0,7),rep(0,4),rep(0,10)) nb<-c(5,5,1...

barchart with stacked and beside bars
chris20 · Jan 20, 2010 · r-help

Hi, Is there a way to stack bars in a barchart as well as "beside" bars for the same treatment? eg.... I have one barchart like this: bio<-matrix(c(10,23,9,25),nrow=2,byrow=T) ntreat<-c...

biplot breakdown help
chris20 · Mar 9, 2011 · r-help

Hi, I am trying to understand how the biplot.prcomp is constructed so I can manipulate it to emphasise particular observations and reduce the number of variables shown. The prcomp model I have ran has cor=TRUE and scale=TRUE...

functions and multiple levels
chris20 · Aug 18, 2010 · r-help

Hi, I am trying to write a function; I want to subtract the mean of each class in level 2 from the mean of each class in level 1 and square the answer, eg..... level.1 level.2 observation 1...

centre two graphs on one plot
chris20 · Jun 29, 2011 · r-help

Hi, I am trying to put together a biplot using symbols and different colours instead of text as points. Someone has previously suggested using this code: PC <- prcomp (iris[,1:4]) lambda <- PC$sdev * sqrt(nrow(PC$x)) plot (t...

functions and multiple levels
chris20 · Aug 19, 2010 · r-help

Thanks for the replies, it wasn't quite what I wanted but it has given me some more code for working out averages. I have managed to construct something that nearly works........ level.1 level.2 observation 1 1 0...

dataframes from a function
chris20 · Feb 4, 2011 · r-help

Hi, I'm trying to create a function to return three dataframes for later use in a graphic so I want the return from the function to give me dataframes and with unique names relating to the variable they are...

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