Displaying 8 results from an estimated 8 matches similar to: "Random real numbers"
2010 Feb 26
2
sort columns
Hello,
i have a 50*100 matrix, with real numbers. How do i sort each column?
Now i sort it with a for-loop but this take a lot of time...
Thank you,
Frederik
[[alternative HTML version deleted]]
2010 Jul 08
2
Alternativas a uso de variables globales
Hola a tod en s,
tengo una duda que se relaciona con alternativas al uso de variables globales.
En principio, si se quiere usar un generador de v.a con la librería
Runuran sólo se permite definir las funciones de densidad (o el núcleo
de las mismas) con funciones con un único argumento en (x).
Sin embargo, necesito pasar a las funciones más argumentos que van
cambiando en las iteraciones de
2008 May 23
1
Question about Runuran (Triangular Distribution)
The Runuran package includes a simulation for the Triangular Distribution,
urtriang. But I didn't find an analogue of the q* functions (rnorm - qnorm,
runif - qunif), that would invert the CDF (?uqtriang).
Are there any such functions?
Alberto Monteiro
2008 Dec 09
1
Warning from R CMD build
Hi,
I wonder about the reason for the following lines:
$ diff ~/local/lib64/R/bin/build /usr/lib64/R/bin/build
40c40
< my $revision = ' $Rev: 46832 $ ';
---
> my $revision = ' $Rev: 45803 $ ';
576,579d570
< if(-r "Makevars") {
< $makefiles .= " -f Makevars";
< R_system("${R::Vars::MAKE}
2010 Mar 03
1
error in R
Hi,
I want put some values in the last column of a matrix b. But every time
again there comes the same error on the screen...
> b <- array(0, c(5,5))
> m<-matrix(runif(20,0,2*pi),5) # the sinus of this kind of values i
want put in the last column of b, m is a 5*4 matrix
> n<-5
> for(i in 1:n){
+ a2<-1
+ for(k in 1: n-1){
+ a2<-a2*sin(m[i,k])
+ }
+
2007 May 31
1
A question regarding package development
Hi,
I am writing a package which requires the ANN(Approx N.Neighbors)
library (found here http://www.cs.umd.edu/~mount/ANN/).
My package directory looks something like this
atry/
atry/src/ann/ <--ann source is here
atry/src/ann/include
atry/src/ann/lib <--ann lib file is here
atry/src/disp.cpp < my file which requires the ann lib
The last file disp.cpp has the include line
2010 Aug 25
1
Documenting S4 Methods
I'm in the process of converting some S3 methods to S4 methods.
I have this function :
setGeneric("enrichmentCalc", function(rs, organism, seqLen, ...){standardGeneric("enrichmentCalc")})
setMethod("enrichmentCalc", c("GenomeDataList", "BSgenome"), function(rs, organism, seqLen, ...) {
... ... ...
})
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* allan (1.0)
Alan Lee
http://crantastic.org/packages/allan
Automates Large Linear Analysis Model Fitting
* andrews (1.0)
Jaroslav Myslivec
http://crantastic.org/packages/andrews
Andrews curves for visualization of multidimensional data
* anesrake (0.3)
Josh Pasek
http://crantastic.org/packages/anesrake
This