search for: flipud

Displaying 5 results from an estimated 5 matches for "flipud".

Did you mean: flipped
2007 Dec 20
1
Computing normal conf.intervals
...vector of values and I want to calculate 95% normal CI. Of course, I could write my own function, no problem, but I still wonder if built-in functionality exists. (I wish quantile() had this functionality included). Anyone knows? Also, I wonder if there is a function similar to Matlab's "flipud". Obviously there is package "matlab" which has this function, but I wonder if I can turn a matrix upside-down without loading matlab package. Thanks for your help in advance! Best, JM -- Jonas Malmros Stockholm University Stockholm, Sweden
2008 Sep 22
1
Help for R
...st started learning R and I'm having a problem with it. I was told as following when I tried to run R: Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : in 'matlab' methods specified for export, but none defined: sum, size, padarray, flipud, fliplr Error: package/namespace load failed for 'matlab' Then I tried "package/load in package/matlab", however, the same message showed to me as above. I appreciate for any help and suggestion. Thanks. Kai --------------------------------- ÑÅ»¢ÓÊÏ䣬Ä...
2009 Nov 17
0
Re place NA values in matrix with the value of Nearest Neighbour
...atrix(read.table("xy_.txt")) sq<-xy[,1] x<-xy[,2] y<-xy[,3] xy<-cbind(x,y) xy<-xy/5000 xy<- xy+41 xy<- cbind(xy[,2],xy[,1]) nfiles=2 for( imap in 2:nfiles) { print(fnames[imap]) x = as.matrix(read.table(fnames[imap],skip=6)) x[x = -99999] = NA x=flipud(x) siteclim <- x[ xy] } This all works fine, however as many of the sites are so close to the sea, many NA's are returned, as teh climate information has not been extrapolated to include detailed coastal areas. Thus i would like to know how i can modify my script to instruct R to rep...
2011 Dec 31
4
Base function for flipping matrices
Hi all, Are there base functions that do the equivalent of this? fliptb <- function(x) x[nrow(x):1, ] fliplr <- function(x) x[, nrow(x):1] Obviously not hard to implement (although it needs some more checks), just wondering if it had already been implemented. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2008 Sep 22
1
R-help Digest, Vol 67, Issue 23
...ust started learning R and I'm having a problem with it. I was told as following when I tried to run R: Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : in 'matlab' methods specified for export, but none defined: sum, size, padarray, flipud, fliplr Error: package/namespace load failed for 'matlab' Then I tried "package/load in package/matlab", however, the same message showed to me as above. I appreciate for any help and suggestion. Thanks. Kai --------------------------------- ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕ...