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.

247 results for “from:Johannes Graumann”

Matrix conversion question
Johannes Graumann · Mar 9, 2007 · r-help

Christos Hatzis wrote: > Try > > split(x, row(x)) OOOOHHHHH! THE ELEGANCE! Thanks a lot! Joh

Lattice: How to implement "varwidth" analogous to "graphics::boxplot" in "bwplot"?
Johannes Graumann · Feb 12, 2010 · r-help

Hello, Has anybody solved this? Thanks, Joh

ggplot2: "varwidth"-equivalent for geom_boxplot?
Johannes Graumann · Mar 10, 2010 · r-help

Hi, Is there such a thing? If no: is it easily simulated? thanks, Joh

Another subsetting enigma
Johannes Graumann · Feb 20, 2007 · r-help

jim holtman wrote: >> matches <- sapply(result, function(x){ > + ? ? .comma <- strsplit(x, ',')[[1]] ?# get the fields > + ? ? any(my.list %in% .comma) > + }) Thanks for that! Joh

Factor Madness
Johannes Graumann · Dec 18, 2007 · r-help

Why is class(spectrum[["Ion"]]) after this "factor"? spectrum <- cbind(spectrum,Ion=rep("", nrow(spectrum)),Deviation.AMU=rep(0.0, nrow(spectrum))) slowly going crazy ... Joh

Efficient way to substract all entries in two vectors from each other
Johannes Graumann · Jan 7, 2008 · r-help

Ido M. Tamir wrote: > matchpt Thanks for this hint. It is exactly what I'm looking for. Cheers, Joh

ELIF?
Johannes Graumann · Feb 14, 2007 · r-help

Hello, Is there an elegant way to implement something like the elif function (e.g. python) and prevent multiple if-else contruct concatenation when coding in R? Sorry for my newbieishness, Joh

Referencing function name from within function
Johannes Graumann · Apr 3, 2007 · r-help

Hello, For verbose coding I'd like to do something like: > myfunction <- function(x){ > if (a){ > stop(paste(myfunction_name_here,"requires xyz!") > } Is that possible? Thanks for any hints, Joh

getNodeSet - what am I doing wrong?
Johannes Graumann · Aug 30, 2010 · r-help

Hi, Why is the following retuning a nodset of length 0: > library(XML) > test <- xmlTreeParse( > "http://www.unimod.org/xml/unimod_tables.xml",useInternalNodes=TRUE) > getNodeSet(test,"//modifications_row") Thanks for any hint. Joh

lapply and use.names howto
Johannes Graumann · Feb 15, 2007 · r-help

Hello, How do I make R use the use.names option in a context like this: lapply(data, function(x)(read.table(x,quote="",header=TRUE,sep="\t")), use.names=TRUE) Thanks for any insights, Joh

Regex magic anyone?
Johannes Graumann · Jan 18, 2008 · r-help

Hi again, how to elegantly split s <- "ABCDEFGT(P)HIJK" into "A" "B" "C" "D" "E" "F" "G" "T(P)" "H" "I" "J" "K" (independently of which letters 'T' or 'P' actually represent ...). Please jumstart my regexing, Joh

How to identify what is used as EOL in a given file?
Johannes Graumann · Nov 9, 2009 · r-help

Hi, Is there any R-generic, OS-agnostic way to figure out what end-of-line character is being used in a file to be processed by "readLines"? Thanks, Joh

"plot": Howto get parameters befor plotting anything?
Johannes Graumann · Oct 30, 2008 · r-help

Hello, Is it possible to get all "par" content calculated for "plot" without actually plotting anything? I'm missing an option "plot=FALSE" ... "type="n"" will still open a device and draw the axes ... Thanks, Joh

Feed list of vectors to vioplot()?
Johannes Graumann · Apr 22, 2008 · r-help

Hi, I have a list of vectors and am trying to coerce them into something that vioplot will take as groups of data to be plotted independently. Can someone nudge me into the right direction? Thanks, Joh

Relation 1.5*IQR/Percentile in case of a normal Distribution
Johannes Graumann · Aug 14, 2010 · r-help

Hi, can someone point me at material to understand how in http://upload.wikimedia.org/wikipedia/commons/8/89/Boxplot_vs_PDF.png the "fivenum"-corresponding percentages might be calculated? Thanks, Joh

List to data frame
Johannes Graumann · Jul 26, 2010 · r-help

Hi, Any ideas on how to efficiently convert > list(c(1,2,3),c(4,5,6)) to > data.frame(OriginalListIndex=c(1,1,1,2,2,2),Item=c(1,2,3,4,5,6)) Thanks for any hints...

Subsetting list of vectors with list of (boolean) vectors?
Johannes Graumann · Apr 12, 2007 · r-help

Dear Rologists, I'm stuck with this. How would you do this efficiently: > aPGI [[1]] [1] "864" "5576" > aPGItest [[1]] [1] TRUE FALSE > result <- [magic box involving subset) > result [[1]] [1] "864" Thanks for any hints, Joh

How to get name of current function?
Johannes Graumann · Jan 20, 2009 · r-help

Hello, Is there a way to get the name of the function currently running? I'd like to have something like this x <- function(){ myName <- getNameOfCurrentFunction cat(myName) } so that x() would result in "x" Thanks for any pointers, Joh

layout: how to check whether a pending plot is going to happen within layout or not?
Johannes Graumann · Jan 25, 2008 · r-help

How can I test whether a plot I'm about to call will be within a "layout" or not? I need to fix some par options based on that ... Thanks, Joh

Lattice: How to implement "varwidth" analogous to "graphics::boxplot" in "bwplot"?
Johannes Graumann · Feb 15, 2010 · r-help

Johannes Graumann wrote: > Has anybody solved this? For the benefit of others: after studying > ?panel.bwplot I have to admit that > bwplot(..., varwidth = TRUE) solves the issue. It's just not documented at > ?bwplot Cheers, Joh

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