search for: 20x2

Displaying 4 results from an estimated 4 matches for "20x2".

Did you mean: 2002
2004 Sep 25
2
making custom function compute/return multiple items
Hello, I'm relatively new to R. I've read the intro guide, but I can't quite figure out how to: I have a function: Jcost <- function (theta, in, out) { a <- output - input %*% theta 1/2 * t(a) %*% a } where "theta" is a 2x1 matrix "in" is a 20x2 matrix "out" is a 20x1 matrix return value is a scaler This works well when I only want to compute given 1 theta matrix. How do I compute several (say N) 2x1 theta matrices and get back N scaler values? Thanks! -- -david David Chu
2011 Jan 24
1
Possible bug in R parser
Dear R developers, A recent typo led me to discover, that R is happy to accept > 20x2 [1] 20 as input. This appears to be related to the parsing of hexadecimal constants, since there must be a zero before the 'x' (i.e. 2x2 or 02x02 gives the expected error). All this is under R 2.12.1 on both OS X and Linux. Is this expected behavior? Cheers, Olaf Mersmann
2011 Feb 25
0
R 2.12.2 is released
...Dunlap.) ? Package HTML index files <pkg>/html/00Index.html were generated with a stylesheet reference that was not correct for static browsing in libraries. ? ccf(na.action = na.pass) was not implemented. ? The parser accepted some incorrect numeric constants, e.g. 20x2. (Reported by Olaf Mersmann.) ? format(*, zero.print) did not always replace the full zero parts. ? Fixes for subsetting or subassignment of "raster" objects when not both i and j are specified. ? R CMD INSTALL was not always respecting the ZipData: yes field of...
2011 Feb 25
0
R 2.12.2 is released
...Dunlap.) ? Package HTML index files <pkg>/html/00Index.html were generated with a stylesheet reference that was not correct for static browsing in libraries. ? ccf(na.action = na.pass) was not implemented. ? The parser accepted some incorrect numeric constants, e.g. 20x2. (Reported by Olaf Mersmann.) ? format(*, zero.print) did not always replace the full zero parts. ? Fixes for subsetting or subassignment of "raster" objects when not both i and j are specified. ? R CMD INSTALL was not always respecting the ZipData: yes field of...