similar to: run-time of an R function

Displaying 20 results from an estimated 2000 matches similar to: "run-time of an R function"

2008 Mar 10
1
Check errors using R2.6.2
I can successfully "check" a package with source under 2.5.1, including compiling source files and running examples with no errors or warnings. when I try with R2.6.2, I get make errors: making bayesmc.d from bayesmc.c make[3]:gcc-sjlj: Command not found etc. my gcc is version 3.4.2 I'm using Windows XP. Any thoughts? thanks! peter r ................................ Peter
2006 Jan 06
1
vectorization of groups of dot products
I have a set of n vectors, x_1, ..., x_n, of the same length. I would like to form the vector of dot products -- x_1'x_1, ..., x_n'x_n the fastest way I can think to do this is to put the vectors into a matrix and do diag(crossprod(X)) however, this seems to be very wasteful since this computes n(n+1)/2-n unnecessary dot products. Is there a better way using existing functions in R?
2006 Jul 26
1
.Call question
Writing R Ext says to treat R objects that are arguments to .Call as read only (i.e. don't modify). I have a long list of lists that and I want to avoid the overhead of a copy in my C code. I would just like to modify some of the elements of list by replacing them with elements of exactly the same size/type. below is an example of the essence of the problem. This seems to work. Is this
2007 Feb 17
2
S3 vs S4 classes
I have developed a package, bayesm, which uses existing classes of objects. I would like to add a new class corresponding to objects from this package. I have been reading about classes and all sources tell me that I should use so-called "new" or S4 classes. However, a major purpose of defining a class for my package would be to add methods to the existing generic functions: print,
2005 Dec 06
3
Coefficient of association for 2x2 contingency tables
Hi, Found no measure of association or correlation for 2x2 contingency tables in fullrefman.pdf or google. Can someone point to a package that implements such calculations? Thanx. -- Alexandre Santos Aguiar - consultoria para pesquisa em sa??de - R Botucatu, 591 cj 81 tel 11-9320-2046 fax 11-5549-8760 www.spsconsultoria.com
2005 Apr 23
0
patch release of bayesm
Folks- a patch release of bayesm, v0.0-1, is now available on CRAN. This release corrects some errors in the help pages as well as one error in the function rhierLinearModel involving an incorrect default prior setting. peter ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics Editor, Quantitative Marketing and Economics Rm
2005 May 20
0
Version 1.0-1 of bayesm
Version 1.0-1 of bayesm is now available on CRAN. This is our first "production" version which include s much improved documentation as well as five data sets used in our book, Bayesian Statistics and Marketing. peter r ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics Editor, Quantitative Marketing and Economics
2005 Jun 15
0
Version 1.1-0 of bayesm
Version 1.1-0 of bayesm is now available on CRAN. This version includes Bayesian inference for the NBD(Poisson) regression model and a hierarchical version of the same. It also includes an additional dataset with count data and various covariates. Comments and suggestions for improvement are most welcome. ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis
2005 Apr 23
0
patch release of bayesm
Folks- a patch release of bayesm, v0.0-1, is now available on CRAN. This release corrects some errors in the help pages as well as one error in the function rhierLinearModel involving an incorrect default prior setting. peter ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics Editor, Quantitative Marketing and Economics Rm
2005 May 20
0
Version 1.0-1 of bayesm
Version 1.0-1 of bayesm is now available on CRAN. This is our first "production" version which include s much improved documentation as well as five data sets used in our book, Bayesian Statistics and Marketing. peter r ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics Editor, Quantitative Marketing and Economics
2005 Jun 15
0
Version 1.1-0 of bayesm
Version 1.1-0 of bayesm is now available on CRAN. This version includes Bayesian inference for the NBD(Poisson) regression model and a hierarchical version of the same. It also includes an additional dataset with count data and various covariates. Comments and suggestions for improvement are most welcome. ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis
2005 Apr 13
1
package submission and binary versions
Dear r-help- >From reading the CRAN web page, it appears that you should not submit precompiled binary versions of your package, but rather that these are built for you by someone working with CRAN. I submitted my package using R CMD build but without the binary flag on. I'd like to have a binary version available for Windows users. Should I submit a precompiled binary version as well?
2005 Oct 03
0
release of version 2.0-1 of bayesm
Folks- We are pleased to announce the release of version 2.0-1 of bayesm. Highlights of the new version: 1. Bayesian treatment of SUR (seemingly unrelated regression) 2. Added clustering to mixture of normals models 3. Added routines to compute implied univ and bivariate densities from mixture of normals MCMC draws 4. improved input error checking in many routines please get rid of your
2008 Mar 07
0
bayesm version 2.2-0
bayesm version 2.2-0 is now available on CRAN. Major changes include: 1. general density estimation using a Dirichlet Process Prior and a normal base 2. linear instrumental variable models with unknown error distributions (the Bayesian analogue of IV methods). Achieved via DP priors. peter r ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis Professor of
2005 Oct 03
0
release of version 2.0-1 of bayesm
Folks- We are pleased to announce the release of version 2.0-1 of bayesm. Highlights of the new version: 1. Bayesian treatment of SUR (seemingly unrelated regression) 2. Added clustering to mixture of normals models 3. Added routines to compute implied univ and bivariate densities from mixture of normals MCMC draws 4. improved input error checking in many routines please get rid of your
2007 Mar 08
0
Release 2.1-1 of bayesm
Release 2.1-1 is now available on CRAN. This release includes-- bayesm classes (some compatible with the mcmc class of coda) for output. plot and summary methods for these classes. additional datasets including store-level panel data. peter r ................................ Peter E. Rossi Joseph T. and Bernice S. Lewis Professor of Marketing and Statistics Editor, Quantitative Marketing
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN. bayesm covers many important models used in marketing and micro-econometrics applications. The package includes: Bayes Regression (univariate or multivariate dep var) Multinomial Logit Multinomial and Multivariate Probit Multivariate Mixtures of Normals Hierarchical Linear Models with a normal prior and covariates
2005 Apr 16
0
bayesm: a package for Bayesian infererence for Marketing/Micro-Econometrics
We are pleased to announce the release of version 0.0 of bayesm on CRAN. bayesm covers many important models used in marketing and micro-econometrics applications. The package includes: Bayes Regression (univariate or multivariate dep var) Multinomial Logit Multinomial and Multivariate Probit Multivariate Mixtures of Normals Hierarchical Linear Models with a normal prior and covariates
2008 Oct 07
4
R and computer heat
Hi, I noticed the temperature of my laptop rises sharply during execution of a long R script that generates several hundred plots, all of them saved to files. No screen output. Temps reached above 90 Celsius degrees in the box and above 80 C deg in the processor. The machine turns on cooler at maximum speed and exhaled air is really hot. Tried similar operations (batch graphic and music
2011 Jul 31
1
example package for devel newcomers
Hi, I'd like to know whether there is a package (or more, of course) regarded as a good example that could be used also as an instructional tool for newcomers to R extensions development. Thanks. -- Alexandre -- Alexandre Santos Aguiar, MD, SCT -------------- Pr?xima Parte ---------- Um anexo n?o-texto foi limpo... Nome: n?o dispon?vel Tipo: application/pgp-signature Tamanho: 198