search for: bedevil

Displaying 8 results from an estimated 8 matches for "bedevil".

2009 Oct 02
3
Tabulating using arbitrary numbers of factors
...om a data frame, tabulates the number of occurrences of each unique combination of the factors. Cleary, this works: > table(horse,date,surface) <SNIP> , , surface = TURF date horse 20080404 20080514 20081015 20081025 20081120 20081203 20090319 Bedevil 0 0 0 0 0 0 0 Cut To The Point 227 0 0 0 0 0 0 <SNIP> But I would prefer output that skips all the zeros, flattens any dimensions greater than 2, and gives the level names rather than codes. I...
2004 Feb 12
1
suggestion "suggestion" and dataframe operations
...eans and when it does not. (maybe it was an older version that sometimes did not give means). summary does not seem to have optional parameters to specify what statistics I would like. this could be useful, too. another small enhancement: there are four elementary data frame operations that bedevil novices, so they really should have named function wrappers: delrow( dataframe d, index=45); insrow( dataframe d, (row)vector v); delcol( dataframe d, "name"); inscol( dataframe d, (col)vector v); I looked at my R "bible" (venables&ripley), too, but here too it is not...
2000 Feb 02
1
Large data sets and aggregation
I've noticed quite a few messages relating to large data sets bedeviling R users, and having just had to program my way through one that actually caused a "Bus error" when I tried to read it in, I'd like to ask two questions. 1) Are there any facilities for aggregation of data in R? ( I admit that this will not do much for the large data set problem im...
2004 Feb 24
0
Suggestions ?!?!
...eans and when it does not. (maybe it was an older version that sometimes did not give means). summary does not seem to have optional parameters to specify what statistics I would like. this could be useful, too. * another small enhancement: there are four elementary data frame operations that bedevil novices, so they really should have named function wrappers: delrow( dataframe d, index=45); insrow( dataframe d, (row)vector v); delcol( dataframe d, "name"); inscol( dataframe d, (col)vector v); Even a simple alias would do (maybe named row.delete, column.delete). I looked at my R &...
2006 Feb 19
1
TextCtrl width
What''s the best way to specify the width of a TextCtrl in characters instead of pixels? -- R. Mark Volkmann Partner, Object Computing, Inc.
2000 Apr 26
1
Factor Rotation
How does one rotate the loadings from a principal component analysis? Help on function prcomp() from package mva mentions rotation: Arguments retx a logical value indicating whether the rotated variables should be returned. Values rotation the matrix of variable loadings (i.e., a matrix whose olumns contain the eigenvectors). The function princomp returns this in the element
2023 Aug 13
4
Noisy objective functions
While working on 'random walk' applications, I got interested in optimizing noisy objective functions. As an (artificial) example, the following is the Rosenbrock function, where Gaussian noise of standard deviation `sd = 0.01` is added to the function value. fn <- function(x) (1+rnorm(1, sd=0.01)) * adagio::fnRosenbrock(x) To smooth out the noise, define another
1999 Aug 05
6
cbind is not generic as claimed, omits labels where S has them (PR#239)
(1) ?cbind claims The generic functions `cbind' and `rbind' take a sequence of vector and/or matrix arguments and combine them as the columns or rows, respectively, of a matrix. Note: The method dispatching is not done via `UseMethod(..)', but by C-internal dispatching. Therefore, there's no need for, e.g., `rbind.default'. but my cbind.ts