search for: brunt

Displaying 20 results from an estimated 46 matches for "brunt".

Did you mean: runt
2005 Oct 27
1
Repost: Examples of "classwt", "strata", and "sampsize" i n randomForest?
...sampsize=rep(min(table(center))), nlevels(center))) which draws the same number of patients (minimum at any center) from each center to grow each tree. Hope that's clear. Eventually all such things will be in the yet to be written package vignette... Andy > From: David L. Van Brunt, Ph.D. > > I have read both the help files and that article... the > article very nicely > evaluates the value of dealing with unbalanced data, and the > help files show > that you can, but offer no guidance in terms of how the > syntax should be > specified. The "s...
2005 Nov 07
4
R seems to "stall" after several hours on a long series of analyses... where to start?
...(currently using OS X)... any other suggestions on where to look, or what to try to get more information? Sorry so vague... it's a LOT of code, runs fine without error for many iterations, so I didn't think the problem was syntax... -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2005 Oct 27
1
Repost: Examples of "classwt", "strata", and "sampsize" in randomForest?
...yntax demonstrated. Similar for "strata" and "sampsize" though there is a default for sampsize that makes sense... not sure how you would make "a vector of the length the number of strata", however.... Pointers? -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2005 Aug 10
2
Creating new columns inside a loop
...his "indirection" but I'm not sure what to call it in R so that I can find instructions on how to create, name, and address the values stored this way... any gentle nudges in the right direction would be greatly appreciated! -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2004 Apr 05
3
Can't seem to finish a randomForest.... Just goes and goe s!
...no output buffering as in Rgui on Windows, otherwise you'll probably want to turn that off). I had run randomForest on data set much larger than that, without problem, so I don't imagine your data would be `difficult'. (I have not used the Mac, though.) Andy > From: David L. Van Brunt, Ph.D. > > Playing with randomForest, samples run fine. But on real data, no go. > > Here's the setup: OS X, same behavior whether I'm using > R-Aqua 1.8.1 or the > Fink compile-of-my-own with X-11, R version 1.8.1. > > This is on OS X 10.3 (aka "Panther&quo...
2004 Apr 05
2
Can't seem to finish a randomForest.... Just goes and goes!
...vels you can declare them ordered factors and make the computation feasible once again. Bill Venables. -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Torsten Hothorn Sent: Monday, 5 April 2004 4:27 PM To: David L. Van Brunt, Ph.D. Cc: R-Help Subject: Re: [R] Can't seem to finish a randomForest.... Just goes and goes! On Sun, 4 Apr 2004, David L. Van Brunt, Ph.D. wrote: > Playing with randomForest, samples run fine. But on real data, no go. > > Here's the setup: OS X, same behavior whether I'm u...
2007 Mar 23
1
memory, speed, and assigning results into new v. existing variable
...e more efficient in that I don't have to double the memory with 2 objects, but then again.. there'd have to be a "working copy" in memory until the operation was complete, right? Just curious about the inner workings of R. -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com "If Tyranny and Oppression come to this land, it will be in the guise of fighting a foreign enemy." --James Madison [[alternative HTML version deleted]]
2007 Mar 15
2
replacing all NA's in a dataframe with zeros...
...entire data frame (all vars) without naming each var separately. Yikes. I'm racking my brain on this, seems like I must be staring at the obvious, but it eludes me. Searches have come up CLOSE, but not quite what I need.. Any pointers? -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com "If Tyranny and Oppression come to this land, it will be in the guise of fighting a foreign enemy." --James Madison [[alternative HTML version deleted]]
2004 May 21
1
Memory Leak in OS X versions? (PR#6903)
Full_Name: David L. Van Brunt Version: 1.8-1.9 beta OS: OS X 10.3 Submission from: (NULL) (68.74.58.109) As posted on R-Help (after which another user replicated the problem): --------------- This is the conclusion from a prior thread ([R] " cannot allocate vector of length 1072693248") which ended with no other ans...
2004 May 15
0
" cannot allocate vector of length 1072693248"
...the copy in search position 2 is > still accessible. > > One thing I could have done is: > > data.list <- split(USdata, USdata$symbol) > > then inside the loop, just use data.list[[i]]. > > Andy > >> -----Original Message----- >> From: David L. Van Brunt, Ph.D. [mailto:dvanbrunt at well-wired.com] >> Sent: Wednesday, May 12, 2004 9:14 PM >> To: Liaw, Andy >> Subject: Re: [R] " cannot allocate vector of length 1072693248" >> >> >> I took it for a spin. >> >> Odd, but looking at your code,...
2005 Nov 07
1
R seems to "stall" after several hours on a long series o f analyses... where to start?
...gt; Bedford Inst of Oceanography > Dept Fisheries & Oceans > Dartmouth NS Canada B2Y 4A2 Tel. (902) 426-3529 Fax (902) 426-9710 Email fowlerm at mar.dfo-mpo.gc.ca Home Tel. (902) 461-0708 Home Email mark.fowler at ns.sympatico.ca -----Original Message----- From: David L. Van Brunt, Ph.D. [mailto:dlvanbrunt at gmail.com] Sent: November 7, 2005 7:16 AM To: r-help at stat.math.ethz.ch Subject: [R] R seems to "stall" after several hours on a long series of analyses... where to start? Not sure where to even start on this.... I'm hoping there's some debugging I...
2010 Nov 21
1
abline(h=whatever) not working in candleChart() (in quantmod)?
...ake a straight line constant doing that... I'm sure it should be obvious, since my searching on google hasn't turned up anything. So I'm getting ready for a "face-palm" moment if anyone can point me in the right direction! --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com On Sun, Nov 21, 2010 at 10:29 AM, David Winsemius <dwinsemius@comcast.net>wrote: > stop() throws an error but the side effect is to pop out of whatever > environment you may be in and return to the top-level. I thought that was > what you wanted....
2005 Nov 23
2
TryCatch() with read.csv("http://...")
...verything my smooth little brain can come up with... no luck. I still end up jumping out of the entire script if I hit an error page. Does anyone have some example syntax that I might examine or try out? I'm feeling pretty thick here... -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2004 Apr 23
1
Extracting the MSE and % Variance from RandomForest
...Look at print.randomForest. If the forest has 100 trees, then the mse and rsq are vectors with 100 elements each, the i-th element being the mse (or rsq) of the forest consisting of the first i trees. So the last element is the mse (or rsq) of the whole forest. HTH, Andy > From: David L. Van Brunt, Ph.D. > > I'm almost embarrassed to ask... Almost! > > I've typed "names(myforest.rf)" to see that lots of > interesting info can be > called out bit by bit... > > But I can't seem to figure out how to just grab one or two > the summary stats &...
2005 Sep 13
1
Anyone have any code for importing data from NAMCS?
...ta and assign the variable names and value labels. This is a big file, so doing it from scratch will take quite a bit of time... Just hoping I can avoid re-inventing the wheel! Anyone out there interested in throwing me a rope? Thanks! -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2006 May 23
1
Survey proportions... Can I use population as denominator?
...screens have not been fruitful so far. I'm suffering from interference, I'm sure, where knowledge of another package is getting in the way of seeing what I need to do. Anyone able to nudge me in the right direction? Much obliged... -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2005 Oct 09
1
Insert value from same column of another row (lag across observations)
...NA" [2,] "yesterday" "2" "2" [3,] "the day before" "3" "3" [4,] "two days before" "4" "4" So the "lagging" doesn't work. Any ideas? -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2005 May 15
1
Not sure if this is "aggregate" or some other task.
...didn't find examples that were on the mark. I think I'm suffering from "prospective interference" and my SPSS syntax knowledge to do exactly this is just getting in my way. any volunteers? I'd very grateful. Thanks! -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2005 Oct 04
1
"Survey" package and NAMCS data... unsure of specification
...ta=apistrat, fpc=~fpc) I get that the "weights" should be PATWT, and it seems that the "strata" should be CSTRATM, but I'm unsure of how to handle the primary sampling units (CPSUM). Does anyone have any suggestions? -- --------------------------------------- David L. Van Brunt, Ph.D. mailto:dlvanbrunt@gmail.com [[alternative HTML version deleted]]
2005 May 30
3
sapply following using by with a list of factors
...5.5518, 25.5648, 25.5701, 25.5584, 25.5434, 25.5765, 25.5867, 25.6141, 25.6198, 25.6161, 25.6202, 25.6149, 25.6199, 25.6526, 25.659, 25.6854, 25.671, 25.6518, 25.6741, 25.6826, 25.6892, 25.6972, 25.6891, 25.7092, 25.7065, 25.7005, 25.6928, 25.7142, 25.7187, 25.34, 25.3324), Brunt.Vaisala.Freq.cycl.h = c(15.222, 6.59496, 17.1348, 17.8131, 18.7135, 21.4038, 22.0582, 22.8786, 28.2346, 14.8181, 5.59839, 11.962, -5.12458, 7.09748, -16.0581, 1.9386, 10.7242, 7.05743, 5.22594, 3.27465, 1.23835, 0.574964, 5.06922, 4.53486, 3.30098, 3.8572, 1.97145, -4.39978, -1....