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.

7 results for “from:jjap”

Simple but elusive - expand back from counts
jjap · Mar 29, 2011 · r-help

Many thanks to all, the first 3 solutions worked nicely but I did not get around to tweaking properly the others. It's really nice to get thing going in a "one liner" or about... Again greatly appreciated. Cheers! -- View...

lattice panel.abline use
jjap · Aug 12, 2011 · r-help

Dear R-users, I am unsuccessful in trying to add an horizontal line to all graphs in the example below: library(lattice) val<-runif(15) x<-rep(seq(1:5),3) type<-c(rep("a",5), rep("b",5), rep...

Stuck with levels while reassigning dataframe colnames?
jjap · Feb 2, 2012 · r-help

Thanks for the advice, df<-read.table(infile, sep="," skip = 1, header=TRUE) is indeed much cleaner from the outset (and was my usual way to it). I was unaware that readLines(infile, n=1) could get me the first...

ddply - how to transform df column "in place"
jjap · Aug 23, 2011 · r-help

Dear R-users, I am trying to get the plyr syntax right, without much success. Given: d<- data.frame(cbind(x=1,y=seq(20100801,20100830,1))) names(d)<-c("first", "daterep") d2<-d # I can convert the daterep column...

Stuck with levels while reassigning dataframe colnames?
jjap · Feb 1, 2012 · r-help

Dear users, I am importing a csv file whose first row is a single value that I need to capture in a variable. infile<-file.choose() in<-read.csv( infile, header=FALSE) single.value<-as.character(in[1,1]) # fine...

Simple but elusive - expand back from counts
jjap · Mar 29, 2011 · r-help

Dear R-users, This should be simple but still eludes me: Given the following tmp<-as.data.frame(matrix(c(44, 10, "abc", 1, 44, 10, "def", 1, 44, 12, "abc", 2), 3, 4, byrow=T)) I want to expand...

Plotting a quadratic line on top of an xy scatterplot
jjap · Apr 11, 2011 · r-help

Hi, Is it just me or it appears the "temperature" and "probability" should be reversed? -------- Anyhow it should help you to assign your model to a variable (as Joshua did with his own suggestion) yourmodel <-lm(x[,2] ~ x[,1...

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