[R] lmPerm p-values and multiple testing

2012-09-15 Thread Aldo Córdova Palomera
I've started using lmPerm in order to perform regressions in R. The equation I want to fit has the form: out3 <- lmp(outcome ~ bin1 + bin2 + cont1 + cont2, perm="Exact") Where "outcome" is a non-normally distributed continuous variable, and bin* and cont are binary and continuous regressors (simi

[R] Robust regression with clusters

2012-04-30 Thread Aldo Córdova Palomera
Hi, I need to perform a robust regression with several dummy independent variables (i.e., binary), which are paired (clustered). The outcome (dependent variable) is continuous. I have tried using the robcov function with the next syntaxis: out1 <- ols(y ~ x1 + x2 + x3 , x=T) robustclust <- ro

Re: [R] shell command with Robocopy error

2012-02-24 Thread Aldo
Also it copies the files, but I am using this as part of a larger code block and concerned the errors will kill the loop -- View this message in context: http://r.789695.n4.nabble.com/shell-command-with-Robocopy-error-tp4418254p4418345.html Sent from the R help mailing list archive at Nabble.com.

[R] shell command with Robocopy error

2012-02-24 Thread Aldo
Ok so my problem is I am running a shell command to copy certain file types from one directory to another and it returns multiple errors the code is models=c("1sFE1cFE","1sFE1cFEp") for(m in 1:length(models)){ shell(paste("robocopy C:\\Sim_Test_1\\Sim",models[m],"

Re: [R] Hiding message

2011-11-29 Thread Aldo
> library() call outside the loop. > > Also, the suppressPackageStartupMessages() function can hide them, but > you should first figure out for yourself why they are there. > > Michael > > On Tue, Nov 29, 2011 at 9:39 PM, Aldo <michael.v.clawson@> wrote: >> So

[R] Hiding message

2011-11-29 Thread Aldo
So I am receiving messages in a loop "The following object(s) are masked from..." I tried triedoptions(warn=-1) and options(show.error.message:=FALSE) but it still tells me "The following object(s) are masked from..." repeatedly, and my problem is that it masks the print statement from my fu

Re: [R] Objects disappearing in my R work space

2011-11-24 Thread Aldo
Is there a maximum memory allocation for all R windows open? because it is like 1-3 million runs so... it may be reaching some sort of memory limit -- View this message in context: http://r.789695.n4.nabble.com/Objects-disappearing-in-my-R-work-space-tp4104389p4106390.html Sent from the R hel

Re: [R] Objects disappearing in my R work space

2011-11-24 Thread Aldo
It works when I do not have multiple windows open, but is not there when I do have multiple windows open, so I dont think it has to do with the function The function is pretty complicated but I can share more if you think it will help -- View this message in context: http://r.789695.n4.nabble

[R] Objects disappearing in my R work space

2011-11-24 Thread Aldo
I am running MCMC chains with a self written MCMC algorithm. When I have multiple R terminals open while running the Chain, when it finishes it is not there. when I press ls() it does not show up and when I type the Name it says the Object is not found. I assume It is unrecoverable... but how do I

[R] Scatterplot Showing All Points

2007-12-17 Thread Wayne Aldo Gavioli
Hello all, I'm trying to graph a scatterplot of a large (5,000 x,y coordinates) of data with the caveat that many of the data points overlap with each other (share the same x AND y coordinates). In using the usual "plot" command, > plot(education, xlab="etc", ylab="etc") it seems that the

Re: [R] Importing Large Dataset into Excel

2007-12-11 Thread Wayne Aldo Gavioli
Sorry, the title of this should read "From Excel into R". Quoting Wayne Aldo Gavioli <[EMAIL PROTECTED]>: > > Hello all, > > > I seem to be having a problem importing a data set from Excel into R. I'm > using > the "read.table" comman

[R] Importing Large Dataset into Excel

2007-12-11 Thread Wayne Aldo Gavioli
Hello all, I seem to be having a problem importing a data set from Excel into R. I'm using the "read.table" command to import the data with the following line of code: > newborn<-read.table("newborn edit.csv", header=T, sep=",") where "newborn edit.csv" is the name of the file. Unfortunatel

[R] 2 Sample Confidence Interval - Formatting Data?

2007-10-09 Thread Wayne Aldo Gavioli
Hello all, I have to run a 2 Sample Confidence Interval on some data; the command for such intervals is "confint(...)", but in the help documentation it says that you need a "fitted model object" in order to run this command. What does that mean? The data is very small, it's: x=c(8,12,10,14,2

[R] Line Graph - Greater than 2 variables on plot

2007-09-20 Thread Wayne Aldo Gavioli
Hello all, I was wondering if anyone knew how to construct a multiple line graph on R, where there are 2 (or more) sets of data points plotted against some x axis of data, and you can draw a line on the graph connecting each set of data points. For example: A B C

[R] Pulling out parts of a generated array in R

2007-09-15 Thread Wayne Aldo Gavioli
Hello all, I was wondering if it was possible to pull out certain parts of an array in R - not an array of data that I have created, but an array of data that has been spit out by R itself. More specifically, in the lines of code below: > summary(prcomp(USArrests)) Importance of components: