search for: tranpose

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

Did you mean: transpose
2008 Dec 23
1
aggregate / tranpose data
Dear R-Users, Suppose I have data in the following format: CODE_NAME ZIP_CODE John 12345 John 23456 John 34567 Jane 13242 Jane 22123 I want to transpose / convert it into: CODE_NAME ZIP_CODE John 12345,23456,34567 Jane 13242,22123 Any idea/pointer is appreciated.
2010 Jan 05
3
Tranpose and Aggregate Data
Hi, I need to transpose and aggregate the 4th and 5th column of this data set (below). The period is 1 to 100 years and some period has 1 entry as shown in the example below. Any ideas how to do this. Thanks in advance. Noli ~~~~~~~~~~ From: P_ID CROP Period Ini_Age Area_Cut 83 SORI 1 31 528.2465512 84 SORI 1 32 74.55179899 85 SORI 1 33
2004 Feb 16
4
Matrix mulitplication
ABCD are four matrix. A * Inverse((Transpose(A)*Tranpose(B)*B*A+C)) * Transpose(A) * Transpose(B) * D how to write in R in an efficient way? --------------------------------- [[alternative HTML version deleted]]
2009 Jul 31
1
Matrix Integral
Hi, Any help on this would be appreciated: I need to integrate where K is a 4x4 matrix, and SIGMA is a 4x4 matrix from say a to b, i.e. 0 to 5: integral MatrixExp(-K * s) %*% SIGMA %*% t(SIGMA) %*% MatrixExp(t(-K) s) ds t is tranpose , %*% : matrix mult , MatrixExp : matrix exponential I've use integrate before on univariate functions like f(x) = x^2 which is fine but when doing this on a matrix I run into problems. All I intuitively need to do is do this element by element. Thanks, NH. -- View this message in contex...
2010 Jun 17
2
help for reshape function
...sue" is not needed. I use the following syntax to perform this task: tdata<- reshape(data, varying=names(data)[-c(1,2)],direction="long", timevar ="label",v.names="value",time=names(data)[-c(1,2)]); however, i lose the column "gene" in the resulting tranposed dataset. I did my best to go through the help doc for reshape. however, I am frustrated that the examples used in the help doc is kind o hard to follow to me. Can anyone help me modify the code to keep the column "gene" in the resulting table? Any constructive suggestion is welcome. t...
2009 Oct 02
1
How to select a subset <number of dimensions matter>
...ike to do is to transpose the data: The dataset I have above is 72*68976. (hard to export to csv; since max column# is 18000 something.) I have to transpose the data.. obviously. But, the problem is, after I transpose the data and export it to csv, I can't really see the data. Besides, I think tranpose thing does not seem work as I want, >bbb=t(as.matrix(data1)) >write.csv(bbb,"c:/oo.csv") Please help me, Thanks. -Hyo [[alternative HTML version deleted]]
2008 Aug 20
1
FYI: APL in R
...om/jdeleeuw-Public/utilities/apl/apl.R Dedicated to the IBM 2741. Implemented for general multidimensional arrays: drop, take, reshape, shape, rank, select, generalized inner product, generalized outer product, representation, base value, join, expand, reduce, scan, member of, ravel, compress, tranpose, rotate Basically, the APL-I part is complete, and after some testing and clean-up this will be 1.0. In the code there is a small section explaining the relation between aplTP(), the APL transpose function, and the (less general but more natural) aperm() from R. I may decide to add some extension...
2007 Jul 31
0
AsteriskNOW and Custom VoIP
...Required) Sip Proxy: Proxy domain and User domain are identical, with port 5060 Register with proxy= yes Proxy is Strict inbound=yes ...in advanced options... Unregister contact address only=yes the other settings are SJphone defaults and the stun tab does not have any server address. How I tranpose these settings on AsteriskNOW? Is my profile usable as service profile with AsteriskNOW, and build a pool of extensions to be used with a sjphones installed on one or more clients of my LAN for both inbound an outbound calls? My Asterisk server is connected with an ethernet connection to my DMZ n...
2008 Apr 15
2
Transposing Data Frame does not return numeric entries
x <- read.table("LittleGarvin.csv", sep=",", header=TRUE) y <- t(x) str(y) chr [1:193, 1:288] "oligocha" "0" " 0" " 0" " 0" "0" ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:193] "X" "upwd1201" "upwd0502" "upwd0702" ... ..$ : NULL x is a data frame with
2006 Aug 16
3
separate row averages for different parts of an array
I have an array with 44800 columns and 24 rows I would like to compute the row average for the array 100 columns at a time, so I would like to end up with an array of 24 rows x 448 columns. I have tried using apply(dataset, 1, function(x) mean(x[])), but I am not sure how to get it to take the average 100 columns at a time. Any ideas would be welcomed. thanks, Spencer [[alternative HTML
2004 Oct 19
2
Matrix/Table col headings R 2.0.0
I have been looking at some 'table' examples in Peter Dalgaard's ISwR book, and I am confused by how to get right justification of my table headings when I use the tables() command. Compare the following: # Produces right justfified column names caff.marital=matrix(c(652,1537,598,242,36,46,38,21,218,327,106,67),nrow=3,byrow=T)