search for: rearrangement

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

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?
Dear all, I have received some data arranged like this: # original data id <- rep(letters[1:6], each=2) time <- as.factor(rep(1:2, 6)) y <- as.vector(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
2010 Oct 10
0
rearrange command in quantreg package
...income,.03)),type="stepfun") plot(zp,do.points = FALSE, xlab = expression(tau), ylab = expression(Q ( tau )), main="Engel Food Expenditure Quantiles") plot(rearrange(zp),do.points = FALSE, add=TRUE,col.h="red",col.v="red") legend(.6,300,c("Before Rearrangement","After Rearrangement"),lty=1,col=c("black","red")) 2. My initial target was to re-estimate the fitted curves (nox=b1_hat*pcinc+b2_hat*pcinc^2+b3_hat*pcinc^3) without the quantile crossing. Obviously the rearrange command does not do this. Does anybody know how c...
2010 Feb 23
3
how to rearrange a dataframe
...t column, and "-" in the second column; then columns 4 and 6 should switch places. That is, column 6 would be now column 4 and column 4 would be column 6 (column 5 should stay as column 5) In the same way, if the first column is "2" and the second is "+", then the same rearrangement should be done. Rows with the first two entries 1 + or 2 - should stay in the same order. This should be done for each row independently. Thanks a lot for your help!
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
Hi! I have just started learning R and today only I have joined this group. This is my first mail and I wish to thank all of you for allowing me to be part of this group. I have following problem. I have an input.csv file such that corp_id      date    investment_id       rate corp1        17-Feb         1                 65 corp1        16-Feb         1                 70 corp1        15-Feb   
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
Dear R-list, Is there a way to convert the typical long R data-format to a 1-line per subject format? I have data formatted as: Group subj condition variable 1 1 1 746.36625 2 2 1 1076.152857 1 3 1 1076.152857 2 4 1 657.4263636 1 5 1 854.1266667 2 6 1 1191.676154 1 7 1 1028.175385 1 1 2 46.36625 2 2 2 76.152857 1 3 2 76.152857 2 4 2 57.4263636 1 5 2 54.1266667 2 6 2 191.676154 1 7 2 028.175385
2006 Aug 08
0
(Fwd) Re: paired t-test. Need to rearrange data?
------- Forwarded message follows ------- From: Petr Pikal <petr.pikal at precheza.cz> To: Henrik Parn <henrik.parn at bio.ntnu.no> Subject: Re: [R] paired t-test. Need to rearrange data? Date sent: Tue, 08 Aug 2006 16:13:47 +0200 Hi Uff, it takes me a bit headache but this shall do it ?unstack ?table ?t new.list<-unstack(test.data,y~id)
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 ... <---
2006 Jun 23
1
rearranging data frame rows
Hi All, I have two data frames. The first contains data about a 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
2006 Jun 23
0
R: rearranging data frame rows
Have a look at merge. Ciao Vittorio >----Messaggio originale---- >Da: f.calboli at imperial.ac.uk >Data: 23-giu-2006 18.10 >A: "r-help"<r- help at stat.math.ethz.ch> >Ogg: [R] rearranging data frame rows > >Hi All, > >I have two data frames. The first contains data about a number of individuals, >coded in the first column with a name, in an order