search for: brea

Displaying 9 results from an estimated 9 matches for "brea".

Did you mean: break
2012 Nov 27
2
binning by frequency
...ome kind of a pattern) and then pick the value of most frequency? a1 <- round(rnorm(50,mean=0,0.1),2) a2 <- round(rnorm(50,mean=1,0.2),1) a3 <- round(rnorm(50,mean=5,1),0) a4 <- round(rnorm(50,mean=14,4),0) a5 <- round(rnorm(50,mean=30,8),0) b1 <- rbind(a1,a2,a3,a4,a5) hist(b1,brea=100) # shows intervals and values with varying frequency. unlike the mean values of a1.... a5 above, I don't know the nominal values. I would like an algorithm to identify intervals and pick the value with most frequency. I tried "cut", "split" and was not successful. Any...
2011 Apr 19
2
cut & histogram
...,6.82, 27.85,6.85,27.88,6.86,28.88,6.93,27.91,11.92,20.92,7.94,28.92,9.76,32.81,10.94,31.92,6.95,29.94,29.96,8.94,28.94,6.89,28.96,9.69,30.79,30.80, 6.90,29.91,9.93,30.95,6.88,7.89,31.97,31.98,3.92,7.91,31.72,6.83,29.88,29.80,29.81,27.90,32.94,28.93,28.97,7.83,28.76,28.77,6.98,34.01,10.97) hist(x1,brea=200), # arbitrarily chosen high number of breakpoints Would highly appreciate your thoughts/suggestions... Thanks so much Santosh [[alternative HTML version deleted]]
2009 Mar 11
3
Converting a dataframe to a matrix
If I have a dataframe which is organized like this: name color likes? 1 sally red 0 2 sally blue 1 3 sally green 1 4 jake red 0 5 jake blue 1 6 jake green 1 7 tom red 1 8 tom blue 0 9 tom green 0 And I want to create a matrix in the form: red blue green sally 0 1 1 jake 0 1 1 tom 1 0 0 Are there any built-in
2009 Apr 24
1
function returns R object with name based on input
I wanted to ask how I can make a for loop or a function return an R object with a unique name based on either some XX of the for loop or some input for the function. For example if I have a function: fn<-function(data,year){ which does does some stuff } How do I return an object from the function called X.year, such that if I run fn(data,1989), the output is an object called X.1989? In
2002 Dec 07
6
More speedups in CVS
...unctions'' file in CVS together produce a 30%+ speedup of ''shorewall restart'' on my firewall when compared to 1.3.11a. Please test with these files -- I don''t anticipate making any more performance changes for 1.3.12 and I want to be sure that I didn''t break anything. -Tom -- Tom Eastep \ Shorewall - iptables made easy AIM: tmeastep \ http://shorewall.sf.net ICQ: #60745924 \ teastep@shorewall.net
2009 Apr 27
3
Formatting numbers
...g arguments (Dirk Eddelbuettel) > 83. Re: R 64-bit for Ubuntu 9.04 64-bit (Dirk Eddelbuettel) > 84. Re: Rmpi failing to install with all latest MPI packages and > config arguments (Vince Fulco) > 85. Re: function returns R object with name based on input > (Jennifer Brea) > 86. Bumps chart in R (Andreas Christoffersen) > 87. Re: eager to learn how to use "sapply", "lapply", ... > (hadley wickham) > 88. Re: Bumps chart in R (hadley wickham) > 89. Re: Bumps chart in R (Gabor Grothendieck) > 90. RODBC - XLSX files...
2009 May 05
1
self organizing map advice for categorical data
...ctor Machines (David Winsemius) 29. mosaic plot with two factors and one continous variable (Karsten Weinert) 30. Re: Reversing axis label order (Patrizio Frederic) 31. Re: mosaic plot with two factors and one continous variable (Achim Zeileis) 32. Zelig, oprobit error (Jennifer Brea) 33. Handling Error Thrown After source(...), read.table(...), and readLines(...) (Jason Rupert) 34. Re: normality test for large a large dataset ? (Greg Snow) 35. Cox Proportional Odds Model (Steve Jaffe) 36. Code of the max() function (Paul Smith) 37. help_if command_new column (...
2009 May 04
0
Zelig, oprobit error
Hello, I'm getting an error message when I use the ordered probit model "oprobit" in the zelig function. Using the same form as in the help file, we get an error message. It produces coefficients, but no standard errors. See results below. Any hints? Thanks! > > o.probit <- zelig(as.factor(checks.change) ~ Oda + Oil + sh_neg + sh_pos + checks1,
2010 Nov 18
0
R package for sample selection with panel data
Echoing an older inquiry (https://stat.ethz.ch/pipermail/r-help/2008-November/180184.html), does anyone know of R code that exists to correct for sample selection with panel data as in: J.M. Wooldridge (1995), “Selection Corrections for Panel Data Models Under Conditional Mean Independence Assumptions,” Journal of Econometrics 68, 115-132. Thank you, Jen [[alternative HTML version deleted]]