search for: rearranged

Displaying 20 results from an estimated 921 matches for "rearranged".

2009 Jul 13
1
R in rearranging equations
Hi, can anyone tell me if R can be used to rearrange very complicated equations in terms of one of the variables? I have: dx/dt = a*b*m*y*(1-x)-r*x and, having set: dy/dx = 0, need to rearrange in terms of x. The problem I have is that I don't know how to rearrange equations when the variables are not yet defined (I get messages warning me that x etc can't be found). I'm not sure
2011 Nov 07
4
rearrange set of items randomly
Dear all, I hope that this question is not too weird, I will try to explain it as good as I can. I have to write a function for a school project and one limitation is that I may not use the in built function sample() At one point in the function I would like to resample/rearrange the items of my sample (so I would want to use sample, but I am not allowed to do so), so I have to come up with sth
2006 Aug 06
2
paired t-test. Need to rearrange data?
...(replicate(6, c(rnorm(n=1, mean=1), rnorm(n=1, mean=2)))) test.data <- data.frame(id, time, y) test.data I would like to perform a paired t-test of the y-values at time=1 against those at time=2, with samples paired by their id. Is it necessary to arrange the data in a format like this: # rearranged data id <- letters[1:6] y1 <- replicate(6, rnorm(n=1, mean=1)) # y-value at time = 1 y2 <- replicate(6, rnorm(n=1, mean=2)) # y-value at time = 2 test.data2 <- data.frame(id, y1, y2) test.data2 ...in order to perform a paired t-test? t.test(y1, y2, paired=T) If yes, which is the most...
2010 Oct 10
0
rearrange command in quantreg package
Dear all, I want to use the "rearrange" command which is based on Chernozhukov et al paper and is included in the quantreg package. So, I run a quantile regression in which I included dummy variables for state and years in order to estimate the respective fixed effects quantile regression. The problems are the followings: 1. At example that is stated in the help****, I don't
2010 Feb 23
3
how to rearrange a dataframe
Hi all, I'd appreciate if anyone can help me with this... I have a data frame that looks like this: 1 + name1 1 2 3 2 + name2 5 9 10 2 - name3 56 74 93 1 - name4 65 75 98 I need to rearrange this in a way so that the rows with "1" in the first column, and "-" in the second column; then columns 4 and 6 should switch places. That is, column 6 would be now column 4 and
2007 Sep 13
1
rearrange problem
Hi All, I am trying to rearrange alphabetically each element in a character vector. ex: say the first element in the vector is "cba", and my goal is to turn it into "abc". The suggested function to use is sort(). But it turns out that sort doesn't work at the level of element. So I am wondering that if there is an alternative function for this purpose. Please help me out .
2011 Jan 31
0
Function rearrange (quantreg)
Dear all How can I obtain the data from the function "rearrange" in package quantreg More especifically, based on the example below (available in the help of the rearrange function), how can I access the data generated by "rearrange(zp)" ? data(engel) z <- rq(foodexp ~ income, tau = -1,data =engel) zp <-
2010 Feb 18
2
Rearranging data
...  corp1   corp2   corp11    corp17 17-Feb       65        95         30          16 16-Feb       70       135 15-Feb       69       140 14-Feb       89 13-Feb       88 #(The above figures represent the corp-wise and date-wise rates for investment_id = 1.) Please guide me how the filtered1 can be rearranged? Thanking you Anna Carter The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. [[alternative HTML version deleted]]
2003 Oct 27
1
packet rearranging questions
Hello again. If you recall, I am the guy working on enabling Audacity to losslessly rearrange Ogg Vorbis files for my senior thesis. I have more or less completed the required modifications to Audacity to support this. You can read more about the work this entailed by reading my journal: http://www.reverberate.org/computers/thesis/journal Now my attention moves to the Ogg Vorbis code
2007 Nov 27
2
rearrange data: one line per subject, one column per condition
...the subjects. This is something like: subj group condition1 condition2 1 1 746.36625 46.36625 2 2 1076.152857 76.152857 ... I know its possible the other way around. But that's not what I need (this time). Before anyone asks: Yes, I want to do some analysis on my data in SPSS, so I need the rearranged format. Regards and Thanks, Dieter ------------------------------------------ Dieter Vanderelst dieter _ vanderelst AT emailengine DOT org d DOT vanderelst AT tue DOT nl Eindhoven University of Technology Faculty of Industrial Design Designed Intelligence Group Den Dolech 2 5612 AZ Eindhoven Th...
2006 Aug 08
0
(Fwd) Re: paired t-test. Need to rearrange data?
...ta.frame(id, time, y) test.data > >> > >>I would like to perform a paired t-test of the y-values at time=1 > >>against those at time=2, with samples paired by their id. Is it > >>necessary to arrange the data in a format like this: > >> > >># rearranged data > >>id <- letters[1:6] > >>y1 <- replicate(6, rnorm(n=1, mean=1)) # y-value at time = 1 > >>y2 <- replicate(6, rnorm(n=1, mean=2)) # y-value at time = 2 > >>test.data2 <- data.frame(id, y1, y2) test.data2 > >> > >>...in order t...
2003 Feb 05
1
rearranging rows
Dear all, I am working with a matrix structured as follows Factor 1 Factor2 ... Country 1 Country 1 Country 2 Country 2 ... Country N Country N and I need to rearrange it according to the following scheme Factor 1 Factor2 ... Country 2 Country 2 Country N Country N ... Country 1 Country 1 where countries are ordered accordingly to the average
2011 Apr 21
1
Rearranging columns with cbind
I'm getting an error that I don't understand when trying to rearrange my data columns with cbind. My data is in 27 columns, like so: > data <- read.table("CalledFeatsNimblegen.csv", header=T, sep=",") > names(data) [1] "MF_not_mC" "MF_promoter" "MF_genebody" "FF_not_mC" [5]
2008 May 16
2
How to swap and rearrange rows?
Dear R-expert, How to swap and rearrange the row so that I will have Jan-Dec in order? > est31 ??????????? p0 est.alpha est.beta? est.rate Jan? 0.8802867 0.7321440 7.241757 0.1380880 Mar? 0.8598566 0.7096567 7.376367 0.1355681 May? 0.6204301 0.8657272 6.036106 0.1656697 July 0.5032258 0.9928488 4.027408 0.2482986 Aug? 0.5322581 0.9625738 4.103121 0.2437169 Oct? 0.6792115 0.8526226 5.105218
2009 Jan 29
3
bootstrapping in regression
Hi, Please apologize if my questions sounds somewhat 'stupid' to the trained and experienced statisticians of you. Also I am not sure if I used all terms correctly, if not then corrections are welcome. I have asked myself the following question regarding bootstrapping in regression: Say for whatever reason one does not want to take the p-values for regression coefficients from the
2010 Feb 20
3
Rearranging a data frame for multiple observations
Hi there, I think I'm struggling with a fairly simple problem but can't seem to solve it. I have multiple observations for one unique identifier. Ultimately I want to end up with one line per identifier with multiple observations in rows. I'm really stuck any help would be really appreciated. CAO0337134 05/09/95 CAO0337134 27/09/05 CAO0347741 10/10/04 CAO0347741 12/10/04
2011 May 08
2
Rearranging variables in table in non-alphabetical (manually specified) order
Dear all, I'm trying to rearrange variables in a table in a custum order for using it with levelplot. So far I could only find examples showing how to sort alphabetically. Here is a short example:? a <- c("Anna","Anna","Michael","Klaus","Klaus","Anna","Fritz")? b <-
2009 Jul 09
1
Wiki page "HowTos/Subversion" needs rearrangement
Dear all, While translating the "HowTos/Subversion" wiki page, I've found that the order of the following paragraphs need to be rearranged in this way to make sense: == References: == Subversion: ... Version Control with ... == 1) Installation: == [root at lucifer ~] ... The first thing ... <--- this has been moved When you install ... <--- this has been moved Regards, Timothy Lee
2006 Jun 23
1
rearranging data frame rows
...number of individuals, coded in the first column with a name, in an order I find convenient. The second contains different data about the same indivduals, in a different order. Both data frame have the individual names in the first column. I need to reorder the second data frame so the rows are rearranged in the same manner as the fist. How? I cannot turn the individual names in a numeric vairable with as.numeric(data1[,1]), because the two data frames are subset of different data, so the the factor levels are way off between the two. I think I need to actually use the names as a index. Cheers...
2006 Jun 23
0
R: rearranging data frame rows
...coded in the first column with a name, in an order I find convenient. > >The second contains different data about the same indivduals, in a different >order. Both data frame have the individual names in the first column. > >I need to reorder the second data frame so the rows are rearranged in the same >manner as the fist. How? > >I cannot turn the individual names in a numeric vairable with >as.numeric (data1[,1]), because the two data frames are subset of different data, >so the the factor levels are way off between the two. I think I need to actually >use th...