Re: [R] loop testing unidentified columns

2016-06-20 Thread Brittany Demmitt
all[, -1] > [,1] [,2] > results.212 > results.323 > > - > David L Carlson > Department of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > -Original Message- > Fro

[R] loop testing unidentified columns

2016-06-20 Thread Brittany Demmitt
Hello, I want to compare all of the columns of one data frame to another to see if any of the columns are equivalent to one another. The first column in both of my data frames are the sample IDs and do not need to be compared. Below is an example of the loop I am using to compare the two data f

Re: [R] write.csv file= question

2015-08-05 Thread Brittany Demmitt
The trial “test” script worked, as well as adding getwd() to my current script also fixed the problem. So it seems “file=“ isn’t necessary after all to run from the terminal. Thanks everyone for your help! :-) > On Aug 4, 2015, at 9:20 AM, Ista Zahn wrote: > > On Tue, Aug 4, 2015 at 11:1

Re: [R] write.csv file= question

2015-08-04 Thread Brittany Demmitt
Thanks! > On Aug 4, 2015, at 9:04 AM, John Kane wrote: > > You probably need to ask this on a RStudio forum but my guess is it is just a > little 'refinement' that the RStudio people added. Similar in concept o the > the matching "". > > John Kane > Kingston ON Canada > > >> -Original

[R] write.csv file= question

2015-08-04 Thread Brittany Demmitt
Hello, I have a quick question about the “file=“ specification for the command write.csv.When I run this command in Rstudio I do not need the “file=“ specified. For example the below command works just fine. write.csv(data,”/home/data.csv”) However when I am running an Rscript from the

Re: [R] powerTransform warning message?

2015-07-17 Thread Brittany Demmitt
Thank you so much for the explanation. That was very helpful! :-) Thanks! Brittany > On Jul 16, 2015, at 6:16 PM, John Fox wrote: > > Dear Brittany, > > On Thu, 16 Jul 2015 17:35:38 -0600 > Brittany Demmitt wrote: >> Hello, >> >> I have a series

[R] powerTransform warning message?

2015-07-16 Thread Brittany Demmitt
Hello, I have a series of 40 variables that I am trying to transform via the boxcox method using the powerTransfrom function in R. I have no zero values in any of my variables. When I run the powerTransform function on the full data set I get the following warning. Warning message: In sqrt(

Re: [R] powerTransform Convergence erro

2015-06-11 Thread Brittany Demmitt
ta.boxcox$variable2 == 1) > [1] 626 > > I hope this helps, > John > > > John Fox, Professor > McMaster University > Hamilton, Ontario, Canada > http://socserv.mcmaster.ca/jfox/ > > > > On Thu, 11 Jun 2015 09:37:57 -0600 >

[R] powerTransform Convergence error

2015-06-10 Thread Brittany Demmitt
Hello, I am trying to use the powerTransform function in the package car to identify the lambda: transform my data. However, I receive the following warning: Warning message: In estimateTransform(x, y, NULL, ...) : Convergence failure: return code = 1 I can not find a description of what ret