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.

24 results for “from:Thomas Roth (geb. Kaliwe)”

how to check if ... is empty
Thomas Roth (geb. Kaliwe) · Jul 16, 2009 · r-help

Hi, I was wondering what would be the best way to check if the three dots argument contains any arguments (i.e. does ... contain any arguments or not? ) #Example test = function(x,y, ...) { #Wanted R-Code # if(empty(...)) # do some...

more than one mathematical annotation into a legend
Thomas Roth (geb. Kaliwe) · Jul 9, 2009 · r-help

Dear members, Is there a way to put more than one mathematical annotation into a legend together with a calculated value? x = 2 plot(1:10) #Works legend(8, 8, substitute(t[m] == x)) #does not work legend(4,4...

lattice: remove box around a wireframe
Thomas Roth (geb. Kaliwe) · Mar 4, 2009 · r-help

#Hi, # #somebody knows how to remove the outer box around a wireframe and reduce the height # # test = data.frame(expand.grid(c(1:10), c(1:10))) z = test[,1] + test[,2] test = cbind(test, z) names(test) = c("x...

Adding picture to graph?
Thomas Roth (geb. Kaliwe) · Jul 29, 2009 · r-help

Have a look at http://www.stat.auckland.ac.nz/~paul/RGraphics/chapter3.html Picture 3.26 Thomas Roth Rainer M Krug schrieb: > Hi > > while teaching R, the question came up if it would be possible to add > a picture...

how to evaluate character vector within pnorm()
Thomas Roth (geb. Kaliwe) · Jul 17, 2009 · r-help

Hi, I'm trying to evaluate a character vector within pnorm. I have a vector with values and names x = c(2,3) names(x) = c("mean", "sd") so that i tried the following temp = paste(names(x), x, sep...

possible overloading of interaction.plot ???
Thomas Roth (geb. Kaliwe) · Jun 3, 2009 · r-help

Dear Members, i have defined a S4-class and a function for that class wich is to be called interaction.plot. Problem: interaction.plot already exists so setMethod(f = "interaction.plot", signature = "myClass", definition = function(x){ invisible() }) Fehler in conformMethod...

paste (" " x " ")
Thomas Roth (geb. Kaliwe) · Jul 14, 2009 · r-help

maybe this helps x = "\"test\"" plot(1:10, main = x) #heading contains " " #or cat("\"test\"") Thomas Roth Paulo E. Cardoso schrieb: > maybe a very basic question but I need to parse an SQL code into a GIS from > a ODBC...

Defining a S4 method for existing function interaction.plot
Thomas Roth (geb. Kaliwe) · Jun 8, 2009 · r-devel

Dear Members, i have defined a S4-class and a function for that class wich is to be called interaction.plot. Problem: interaction.plot already exists so setMethod(f = "interaction.plot", signature = "myClass", definition = function(x){ return(TRUE) }) Fehler in...

plot Ticks
Thomas Roth (geb. Kaliwe) · Jan 27, 2009 · r-help

you could set them manually, if thats what you're looking for plot(1:10, axes = F) axis(1, at = seq(1,10 , length = 3)) mauede at alice.it schrieb: > Is there a way to force the number of ticks...

lattice wireframe within a loop ???
Thomas Roth (geb. Kaliwe) · Jun 24, 2009 · r-help

Hi, I have the following problem. Calling wireframe within a loop results into an empty window(s) #generate some data temp = expand.grid(A = 1:3,B = 1:3) temp = cbind(temp, y1 = rnorm(9)) temp = cbind(temp, y2 = runif...

SOLVED: how to check if ... is empty
Thomas Roth (geb. Kaliwe) · Jul 16, 2009 · r-help

Thank you both. Thomas Dimitris Rizopoulos schrieb: > one way is: > > test <- function(x, y, ...) { > dots <- list(...) > if (length(dots)) cat("\nnon-empty\n") else cat("\nempty\n") > } > > test(1, 1) > test(1, 1, 1) > > > I hope it helps. > > Best, > Dimitris...

Import R-output into Java
Thomas Roth (geb. Kaliwe) · Mar 19, 2009 · r-help

#I used sink ?sink #Thomas Maxl18 schrieb: > Hello, > I want to import R-output via Rserve to Java, especially for the function > ctree from the package party. > Rserve is working properly. > > Yet, I only get the predictions with the Java...

S4 Package with definition of method 'names'
Thomas Roth (geb. Kaliwe) · Jun 11, 2009 · r-help

Dear List, Is it possible to build a package with 'names' method for a S4-Class? The following works if directly pasted into R: (a simple test class with 1 attribute that is returned by invoking 'names') #class definition setClass...

Grid lines
Thomas Roth (geb. Kaliwe) · Jul 30, 2009 · r-help

Maybe this helps par(mar = c(5,4,6,1)) plot(1:10, type = "n", axes = F) xticks = axis(1, at = c(1,5,9), labels = c("1-1-2009","1-5-2009","1-9-2009")) #set axis manually yticks...

Grid lines
Thomas Roth (geb. Kaliwe) · Jul 30, 2009 · r-help

Maybe this helps par(mar = c(5,4,6,1)) plot(1:10, type = "n", axes = F) xticks = axis(1, at = c(1,5,9), labels = c("1-1-2009","1-5-2009","1-9-2009")) #set axis manually yticks...

S4 coerce as.data.frame for lm
Thomas Roth (geb. Kaliwe) · Mar 10, 2009 · r-help

#Hi, # #For a given class test, an object of class test cannot be used as data in the lm method although as.data.frame was implemented... where's my mistake? # #Suppose i have defined a S4 class test #S4 Class...

more than one mathematical annotation into a legend
Thomas Roth (geb. Kaliwe) · Jul 10, 2009 · r-help

in the legend there's x but not the value of x which actually should be shown... #does not work x = 2 plot(1:10) legend(4,4, expression(t[m] == x, t[n] == x)) #legend contains x but not...

S4 coerce as.data.frame for lm
Thomas Roth (geb. Kaliwe) · Mar 12, 2009 · r-devel

#Hi, # #I posted this already on r-help... with no success :-( # #For a given class test, an object of class test cannot be used as data in the lm method although as.data.frame was implemented... where's my mistake...

lattice: remove box around a wireframe
Thomas Roth (geb. Kaliwe) · Mar 4, 2009 · r-help

:-) works! Sundar Dorai-Raj schrieb: > (Sorry for the repeat. Forgot to copy R-help) > > Try, > > test = data.frame(expand.grid(c(1:10), c(1:10))) > z = test[,1] + test[,2] > test = cbind(test, z) > names(test) = c("x", "y...

Create Pie chart from .csv file
Thomas Roth (geb. Kaliwe) · May 5, 2009 · r-help

Sorry for mailing to you personally... for types read.csv(file.choose()) freqTable = table(types) pie(freqTable) ##example for some data temp = data.frame(types = 1:10) pie(table(temp)) Thomas Roth PS: use barplot instead of pie DonkeyRhubarb schrieb...

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