Re: [R] Unexpected behavior with weights in binomial glm()

2012-10-02 Thread Josh Browning
On Sep 30, 2012, at 4:47 AM, Josh Browning wrote: > >> Hi David, >> >> Yes, I agree that the results are "very similar" but I don't >> understand why they are not exactly equal given that the data sets are >> identical. >> >> And yes, this 1%

Re: [R] Unexpected behavior with weights in binomial glm()

2012-09-30 Thread Josh Browning
way to tweak my glm() runs (possibly adjusting the numerical precision somehow???) so that this doesn't happen. Josh On Sat, Sep 29, 2012 at 7:50 PM, David Winsemius wrote: > > On Sep 29, 2012, at 7:10 AM, Josh Browning wrote: > >> Hi useRs, >> >> I'm exper

[R] Plotting DMAs (Direct Marketing Areas)

2012-09-14 Thread Josh Browning
Hey useRs! Do any of you guys know how to plot DMAs within R (preferrably within the maps() package)? I haven't been able to find any resources on this, but I apologize if this is a dumb question and I'm overlooking the obvious answer. Thanks for your help! Josh [[alternative HTML vers

[R] Plotting US States: Issue with filled colors cycling

2012-09-12 Thread Josh Browning
I'm having issues when trying to do a filled State plot using the maps() package. It seems that the color values aren't being plotted correctly, and I'm not sure why... I've started debugging it, but I'm stuck. I've attached the code that I've got so far. The for loop plots states 1:i. What I'

[R] Stratified Sampling with randomForest Regression

2012-06-01 Thread Josh Browning
Hi All, I'm using R's randomForest package (and it's quite awesome!) but I'd really like to do some stratified sampling with a regression problem. However, it appears that the package was designed to only accommodate stratified sampling for classification purposes (see https://stat.ethz.ch/pipe

[R] Updating Neural Networks

2012-05-16 Thread Josh Browning
Hi useR’s, I apologize if I’ve missed some documentation somewhere, but I can’t seem to find anything related to this question… For a ensemble/data-mining problem, I’m trying to train a neural network on my data set and have it output predictions (or coefficients) after varying numbers of epoch

Re: [R] Pasting with Quotes

2012-05-07 Thread Josh Browning
Thank you both so much for your help! I ended up using bquote(expression(...)), and it's working perfectly! On Sat, May 5, 2012 at 1:05 PM, David Winsemius wrote: > > On May 5, 2012, at 2:42 PM, Josh Browning wrote: > > Hello useRs! >> >> So, I have a random que

[R] Pasting with Quotes

2012-05-05 Thread Josh Browning
Hello useRs! So, I have a random question. I'm trying to build a character string, then evaluate it. I think an example would be the easiest way to explain: kern.vec = c("rbfdot","polydot") for( j in 1:length( kern.vec ) ) { formula= paste("ksvm( ind ~ . , data=d.temp[,c(

[R] rpart vs. tree and deviance calculations

2012-01-10 Thread Josh Browning
Hi Everyone, I'm working on building some classification trees, and up to this point I've been using rpart. However, I recently discovered the tree package, and found that it had some useful functions (in particular deviance(), which I would really like to use for my project). I can't seem to

Re: [R] Opening R in 64-bit version by default

2011-05-24 Thread Josh Browning
Oh, of course, sorry. I'm running Windows 7. Thanks! Josh -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Tuesday, May 24, 2011 11:25 AM To: Josh Browning Cc: r-help@r-project.org Subject: Re: [R] Opening R in 64-bit version by default On May 24,

[R] Opening R in 64-bit version by default

2011-05-24 Thread Josh Browning
Hi Everyone, This may be a dumb question, but I can't seem to figure it out. I have 32 and 64 bit versions of R installed on my machine, and I'd really like the 64-bit version to be the default (i.e. what opens when I open up a workspace). I've tried right-clicking on the workspace and setting t