search for: zmatrix

Displaying 7 results from an estimated 7 matches for "zmatrix".

Did you mean: matrix
2011 Aug 04
3
persp()
...n google and reading many pages I arrived to the conclusion that persp() could be used to draw that map. I have prepared three small example files, which are supposed to be the files required for running that function. xvector is a vector with the longitudes yvector is a vector with the latitudes zmatrix is supposed to the height, but since I only need a flat map I just gave the value 1 to each of the entries of the matrix (I am not sure this is correct though). The first question for me when using persp() is that x and y values should be in increasing values (following the instructions), but I un...
1999 Mar 02
1
zero-offset matrices
Has anyone written subscripting methods for matrices which are indexed from zero? i.e. functions such as "[.zoffset" and "[<-.zoffset" which would allow, given an appropriate function "zmatrix" "zmatrix" <- function(...) { robj <- matrix(...) class(robj) <- "zoffset" robj } fred <- zmatrix(1:20, 4, 5) fred[0, 4] # would be 17 fred[3, ] <- NA # would set the last row to NA Many thanks, Jonathan. Jonathan Rougier Scienc...
2001 Oct 11
2
Where's MVA?
...m netCDF nlme nlrq norm odesolve oz panel pcurve permax pinktoe pixmap polymars polynom princurve pspline quadprog quantreg rmeta rpart rpvm scatterplot3d sem sgeostat sm sma sn sna splancs sptests spweights strucchange survival tensor tree tripack tseries twostage vegan wavethresh wle xgobi xtable zmatrix -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20011012/5b0887c1/attachment.html
2007 Apr 19
2
Using "mean" if two values are identical
...PUT <- t( sapply( strsplit(INPUT, split=" "), as.numeric ) ) colnames(INPUT) <- c("x", "y", "z" ) # HERE START's my PROBLEM # if (duplicated(INPUT[,1] & INPUT[,2] )) zMEAN <- mean(INPUT[,3] ) # MATRIX with the mean-z values # zMATRIX <- matrix(c(INPUT[,1], INPUT[,2], INPUT[,3] ), ncol=3, byrow=FALSE) ############# ## dat.dat ## ############# 29 4.5 1.505713 29 4.6 1.580402 29 4.7 1.656875 29 4.8 1.735054 30 0 0 30 0.1 0.00096108 30 0.2 0.00323831 29 4.5 1.495148 29 4.6 1.568961 29 4.7 1.644467 30 0 0 30 0.1 0.00093699 30...
2000 May 19
7
variance of a scalar (PR#546)
...-please do not edit the information below-- Version: platform = sparc-sun-solaris2.7 arch = sparc os = solaris2.7 system = sparc, solaris2.7 status = Patched major = 0 minor = 99.0 year = 2000 month = February day = 9 language = R Search Path: .GlobalEnv, package:HistoryMatch, package:zmatrix, package:stepfun, package:Simulator, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the &q...
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan, Sorry for the delay. It's great that you are working on MergeFunctions as well and I agree, we should definitely try to combine our efforts to improve MergeFunctions. Just to give you some context, the pass (with the similar function merging patch) is already being used in a production setting. From my point of view, it would be better if we focus on improving its capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...03 340020 0 0.03 340020 ZipItem.ll 11 23327 0 0.01 23290 0 0.01 23290 ZipOut.ll 19 204488 0 0.02 204451 0 0.02 204451 ZipRegister.ll 3 5750 0 0.01 5713 0 0.01 5713 ZipStrong.ll 22 63584 0 0.01 63552 0 0.01 63552 ZipUpdate.ll 71 615978 10 0.05 609329 * * * zmath.ll 14 33739 0 0.01 33715 0 0.01 30643 zmatrix.ll 15 47367 0 0.01 47343 0 0.01 47343 zmisc.ll 9 35142 0 0.01 35118 0 0.01 35118 zpacked.ll 4 10164 0 0.01 10140 0 0.01 10140 zpaint.ll 10 43874 0 0.01 43850 0 0.00 43850 zpath2.ll 12 29303 0 0.01 29279 0 0.01 29279 zpath.ll 18 28489 0 0.01 28465 0 0.01 28465 zrelbit.ll 15 50741 0 0.01 50717 * * *...