[R] Bestglm subset analysis

2016-06-29 Thread D Wolf via R-help
Hello All, I am working on a linear regression model and trying to find the best subset of variables for my dataset. I have 21 predictors, 1 response variable, and 79 observations. I need to find the best 5 or 6 predictors for my model. I've used leaps for lm() and I'm now trying bestglm for glm

[R] Reading a datetime vector

2016-02-18 Thread D Wolf via R-help
Hello,I am trying to read a data frame column named DateTimeStamp. The time is in GMT in this format: 1/4/2013 23:30 require(xlsx) df2_TZ = read.xlsx2("DF_exp.xlsx", sheetName = "Sheet1") It's good to that line. But these three lines, which makes the dataframe, converts the column's values to NA

Re: [R] Reading a datetime vector

2016-02-19 Thread D Wolf via R-help
The other thing to watch is whether the data are in %m/%d/%Y or %d/%m/%Y date format. If the latter, you would probably get that error on dates like 19/02/2016. Jim On Fri, Feb 19, 2016 at 8:12 AM, D Wolf via R-help wrote: Hello,I am trying to read a data frame column named DateTimeStamp

Re: [R] Reading a datetime vector

2016-02-22 Thread D Wolf via R-help
.org | Preview by Yahoo | | | |   | Thank You,Doug Wolfinger On Friday, February 19, 2016 12:51 AM, Jeff Newmiller wrote: You are being rather scattershot in your explanation, so I suspect you are not being systematic in your troubleshooting. Use the str function to examine the dat

Re: [R] Reading a datetime vector

2016-02-24 Thread D Wolf via R-help
In addition to my previous message, DF_extract_clean.R is the program in the dropbox folder that I am currently working on. Doug On Tuesday, February 23, 2016 4:02 AM, Jim Lemon wrote: Hi Doug,It is difficult for us to work out what is happening as we don't have access to a toy data s