Re: [R] Numbers as symbols

2004-06-28 Thread Julian Taylor
.frame(cbind(Question,Performance,Importance)) Change the plot commands to this: > nums <-as.character(Question) > plot(Performance, Importance, xlab='Graph', ylab='', axes=T, type = "n") > text(Performance, Importance, nums) The inclusion of the rest of t

Re: [R] anyone know how to combine two vector with some # overlaped?

2004-05-04 Thread Julian Taylor
reply to this email. Any > kind help would be greatly appreciated. > > Mike > > __ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/

Re: [R] getting data frame rows out of a by object

2004-04-07 Thread Julian Taylor
), function(x) x[x$c == max(x$c),]) You are better off using other tools to give you the right subsets. Try d <- do.call("rbind", lapply(split(d, factor(paste(d$a, d$b, sep = ""))), function(el) el[el$c == max(el$c), ])) HTH, Jules -- --- Ju

Re: [R] Extracting multiple elements from a list

2004-01-15 Thread Julian Taylor
t; unlist(lapply(alist, function(x, ind = c(2,4)) x$vec[ind])) [1] 2 4 6 8 hth, Julian -- --- Julian Taylor phone: +61 8 8303 6751 ARC Research Associatefax: +61 8 8303 6760 BiometricsSA, mobile: +61 4 1638 8180 University of Adelaide/SAR