[R] Can merge function pick up mismatch part of two data set?

2010-04-22 Thread alex46015
SAS can merge two data set A, B in different way, A or B, A and B, A not B, Can R merge function do the same way? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Can-merge-function-pick-up-mismatch-part-of-two-data-set-tp2021024p2021024.html Sent from the R help mailing

[R] Unable to make bitmapdll files on windows 7 64 bit machine

2010-04-22 Thread arnholtat
I am trying to build a windows 32 bit version of R 2.11.0 from source on a machine running windows 7 - 64 bit while running as the machine's administrator. I am able to run "make all recommended"...However, once I attempt to build the bitmap files I get the following: C:\Rsource\R-2.11.0\src\gn

Re: [R] Maximum Likelihood Estimation in R

2010-04-22 Thread Henkep
that worked out well, thank you again! I also tried to use lm, and as expected in this case, I almost got the same estimates of the parameters as in the MLE-case. Best Regards Henrik -- View this message in context: http://r.789695.n4.nabble.com/Maximum-Likelihood-Estimation-in-R-tp201882

Re: [R] R loop.

2010-04-22 Thread mhalsham
Ok sorry for bad explanation from my side What I want. I have a txt file name is (table3.txt) this file contains 1293 rows and some of these row will have 1 column and some of them will have up to may be 40 column. For example

Re: [R] Maximum Likelihood Estimation in R

2010-04-22 Thread Henkep
Abhishek: Thank you! Thomas: that worked out well, thank you again! I also tried to use lm, and as expected in this case, I almost got the same estimates of the parameters as in the MLE-case. Best Regards Henrik -- View this message in context: http://r.789695.n4.nabble.com/Maximum-L

Re: [R] glmer with non integer weights

2010-04-22 Thread Emmanuel Charpentier
Sorry for this late answer (I've had a seriously nonmaskable interrupt). Since I have technical questions not related to R, I take the liberty to follow this up by e-mail. I might post a followup summary if another R problem arises... Emmanuel Charpentier

[R] BACI analysis

2010-04-22 Thread Barry Noon
I need help in developing the R syntax for a before-after control intervention design (BACI). Each cell of the 2-way table has multiple replicates-i.e., each replicate, in both the treatment and control groups, is measured both before and after the treatment period. I am having trouble in specif

Re: [R] Maximum Likelihood Estimation in R

2010-04-22 Thread Henkep
Thank you! Best Regards Henrik -- View this message in context: http://r.789695.n4.nabble.com/Maximum-Likelihood-Estimation-in-R-tp2018822p2022832.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list h

Re: [R] macro variable in R?

2010-04-22 Thread karena
Thank you all for the great help... I appreciate! -- View this message in context: http://r.789695.n4.nabble.com/macro-variable-in-R-tp2020772p2023108.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list h

[R] transpose? reshape? flipping? challenge with data frame

2010-04-22 Thread David.Gobbett
Greetings all, I am having difficulty transposing, reshaping, flipping (not sure which) a data frame which is read from a DBF file. I have tried using t(), reshape() and other approaches without success. Can anyone please suggest an way (elegant or not) of flipping this data around ? The init

Re: [R] transpose? reshape? flipping? challenge with data frame

2010-04-22 Thread Ista Zahn
Hi David, There are many ways, including rownames(propsum) <- propsum$coverClass propsum$coverClass <- NULL t(propsum) Best, Ista On Fri, Apr 23, 2010 at 5:43 AM, wrote: > Greetings all, > > I am having difficulty transposing, reshaping, flipping (not sure which) a > data frame which is read

Re: [R] transpose? reshape? flipping? challenge with data frame

2010-04-22 Thread David.Gobbett
Fabulous! I managed to get close with t(), but had obviously missed the step of setting the rownames first. Thanks for your help! David -Original Message- From: Ista Zahn [mailto:istaz...@gmail.com] Sent: Friday, 23 April 2010 2:29 PM To: Gobbett, David (CSE, Waite Campus) Cc: r-help@r

[R] A distance measure between top-k list

2010-04-22 Thread sayan dasgupta
Hi folks, Here is the problem. I am giving an example .I want to find a measure of similarity or dissimilarity among ranking (of students of a same class of size say 50)by two judges. But instead of observing the rank of all the 50 students (Where we could have used rank correlation measures)in eac

Re: [R] Unable to make bitmapdll files on windows 7 64 bit machine

2010-04-22 Thread Prof Brian Ripley
On Thu, 22 Apr 2010, arnhol...@appstate.edu wrote: I am trying to build a windows 32 bit version of R 2.11.0 from source on a machine running windows 7 - 64 bit while running as the machine's administrator. I am able to run "make all recommended"...However, once I attempt to build the bitmap f

Re: [R] Why does 'apply(.., 1, .., ..)' transpose result

2010-04-22 Thread Charles C. Berry
On Fri, 23 Apr 2010, Worik R wrote: I am sorry if this is documented in apply's dcumentation or completely obvious, I could not find or work it out. Well, try ?apply and focus on the 'Value:' section, first para. To me, that behavior seems consistent with other functions in the [ts

Re: [R] Problem with parsing a dataset - help earnestly sought

2010-04-22 Thread Jan van der Laan
Something like this? # Remove everything after ; to give the status status<- sub(';.*$', '', data$cancer.problems) # Remove everything before the last ; to give tissue # In case a no ; in the string this goes wrong; correct tissue<- sub('^.*;[ \n]*', '', data$cancer.problems) tissue[! gre

<    1   2