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.
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...
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...
#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...
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...
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...
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...
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...
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...
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...
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...
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...
#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...
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...
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...
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...
#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...
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...
#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...
:-) 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...
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 .