search for: tranposed

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

Did you mean: transposed
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
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. th...
2009 Oct 02
1
How to select a subset <number of dimensions matter>
Hi guys, I need your help. I would like to select a subset from a dataset. This is the dimension of the dataset. > dim(data1) [1] 72 36 1916 so, it's like.. there are 1916 of 72 * 36 matrix. ==> looks like 72 * ( 36*1916 ) ** *1)* And I would like to select the first 72*36 matrix. This is how I did: > two=data1[,1:36] Error in data1[, 1:36] : incorrect number of dimensions
2008 Aug 20
1
FYI: APL in R
http://idisk.mac.com/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
2007 Jul 31
0
AsteriskNOW and Custom VoIP
Guys, I've downloaded AsteriskNOW few days ago so I'm new to this product. The first issue is on service provider area. I've already used a VoIP account already configured with my ISP, it works fine! This configuration has been used until now with the client SJphone, Now I would use this profile as main VoIP service provider to setup in AsteriskNOW. Here are the profile detail as
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)