search for: hamstersquats

Displaying 11 results from an estimated 11 matches for "hamstersquats".

2009 Mar 04
2
lattice: remove box around a wireframe
#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", "y", "z") require(lattice) wireframe(z ~ x*y, data = test, par.box = c(col = "transparent") ) #not this one but the remaining outer box.
2006 Jan 23
8
Image Processing packages
Hi, I've been looking for Image Processing packages. Thresholding, Edge Filters, Dct, Segmentation, Restoration. I'm aware, that Octave, Matlab etc. would be a good address but then I'm missing the "statistical power" of R. Does anybody know of packages, projects etc. Comments on wether the use of R for such matters is useful are welcome. Greetings Thomas Kaliwe
2009 Jan 05
1
strwidth to lines
Dear members, Is there a way to turn a strwidth of a string into a number of lines that ist needed to display the string when using par(mar = c(?,4,4,2)) #### x = 1:5 names(x) = c("ZZZZZ","ZZZZZzzzzz","ZZZlllll","TTTTT","Zzhtsddfg" ) par(mfrow = c(1,2)) par(mar = c(8,4,4,2)) barplot(x, las = 3, main = "8 is to much") par(mar =
2009 Mar 09
5
Help
...> 71 West 23rd Street, 8th floor > New York, NY 10010 > tel: (212) 845-4495 (Tu, Th) > tel: (732) 512-0171 (M, W, F) > fax: (917) 438-0894 > > > > ------------------------------ > > Message: 26 > Date: Wed, 26 Nov 2008 16:18:33 +0100 > From: Thomas Kaliwe <hamstersquats@web.de> > Subject: [R] S4 slot containing either aov or NULL > To: r-help@r-project.org > Message-ID: <492D68C9.8010304@web.de> > Content-Type: text/plain; charset=ISO-8859-15; format=flowed > > Dear listmembers, > > I would like to define a class with a slot that t...
2006 Apr 20
0
parsing arguments of a function
Hi, I have a simple problem writing a function that is to be called like Myfunction( Column1 = low, Column2 = high, Column3 = all, Column4 = all, data = mydata) {. contourplot(z ~ mydata$Column3* mydata$Column3) . } Where Column1 and Column1 are the names of the dataframe mydata. How do I parse the arguments to obtain both, name and value of the argument. I tried strsplit(Column1,
2007 Mar 23
1
using "\t" in mtext
Hi, Using tab spaces in mtext e.g. > mtext("\t") little squares are plotted. Is there a way to use "\t" without getting squares displayed? Thanks Thomas [[alternative HTML version deleted]]
2009 Jun 11
0
S4 Package with definition of method 'names'
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("test", representation = representation(name = "character"), prototype = prototype(name =
2006 May 05
3
OT: DOE - experiments for teaching
Hi, I'm sorry for this not being related to R but I think this is a good place to ask. I'm looking for DOE examples(experiments) that can be done at home or in class, such as Paper Helicopter, Paper Towel etc.. I'm thankful for any comment. Thomas [[alternative HTML version deleted]]
2008 Nov 26
1
S4 slot containing either aov or NULL
Dear listmembers, I would like to define a class with a slot that takes either an object of class aov or NULL. I have been reading "S4 Classes in 15 pages more or less" and "Lecture: S4 classes and methods" #First I tried with list and NULL setClass(listOrNULL") setIs("list", "listOrNULL") setIs("NULL", "listOrNULL") #doesn't
2009 Jun 24
1
lattice wireframe within a loop ???
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(9)) #plot y1 and y2 in two different windows for(i in 1:2) { wireframe(y1 ~ A*B, temp, shade =T) windows() wireframe(y2 ~ A*B, temp, shade =T) } #However, calling it twice
2009 Jul 17
2
how to evaluate character vector within pnorm()
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 = "=") #gives #> temp #[1] "mean=2" "sd=3" #Problem is that both values 2 and 3 are taken as values for the mean argument in pnorm pnorm(0,