search for: unibg

Displaying 10 results from an estimated 10 matches for "unibg".

Did you mean: unibo
2006 Apr 04
2
EM algorithm
Dear R-Users, I have a model with a latent variable for a spatio-temporal process. I would like to use EM algorithm to estimate the parameters. Does anybody know how to implement the algorithm in R? Thank you very much in advance, Michela
2019 Aug 20
1
Fwd: Bug Reporting
Hello, I would like to report this date/time bug that threatened me for a long time, as I need correct date calculation in my computations. If I add 1 day to the light saving switching day, it will incorrectly subtract 1 hour from the date and missalign all my calculations. You can see it runing (I am testing it with Rome, Italy (+1) TimeZone) print(paste0("Horrible R Bug is present?
2006 Oct 13
3
Rmpi performance
Dear R users, we are trying to do some parallel computing using library(snow). In particular we have a cluster with 3 nodes >cl <- makeCluster(3, type = "MPI") 3 slaves are spawned successfully. 0 failed. and we want to compute the function op_mat (see below) first with the master and then with the cluster using system.time for checking the computational performance.
2006 Jun 15
1
SSPIR problem
Dear R-Users, I'm using SSPIR package for a spatio-temporal application. Is it possible to modify the structure of the involved matrixes (Fmat, Gmat, Vmat,Wmat)? I want to create a model like this #y(t)=k*theta(t)+epsilon(t) #theta(t)=h*theta(t-1)+eta(t) #epsilon(t) N(0,V) V=sigma2*I #eta(t) N(0,W) W=sigma2_eta where the state variable theta has dimension 1(p=1) and at
2006 Dec 11
0
double boostrap with clusterApplyLB
Dear R-Users, we are using a linux-cluster with RMPI and the snow package. We would like to do a double boostrap. We have a general function that implements the first boostrap (the outer) and we are wondering if we can include another bootstrap (the inner) in the same general function including another clusterApplyLB. For example: general function = function(...) { clusterApplyLB(cl,
2007 Mar 19
1
data.frame handling
Dear R-users, I have a little problem that I can't solve by myself. I have a data frame with 2 factors and 8 observations (see the following code): y <- c(1,1,1,2,2,3,3,3) y <- factor(y) levels(y) <- c("a","b","c") x <- c(1,2,3,1,2,1,2,3) x <- factor(x) levels(x) <- c("x","y","z") X <-
2011 Sep 13
0
Building R package with precompiled shared library
Dear R users, we are trying to build a R package that includes a precompiled shared library, let's say mylib.so. We created the skeleton of the package and we moved the mylib.so file into the libs folder that we created at the same level of the folders man and R. Moreover we created the file NAMESPACE and we added the line useDynLib(mylib, .registration=TRUE). The building step seems to work
2008 Jul 01
2
Set default value
Hi, i'm tryng to build a function that take some input from user and if the user doesn't provide that inputs the function should set a deafult value. I have taken as example a function that i found in the package dlm but with the same code i receive an error (the component is missing...). According to the code below R seems to set 1 to "phi" instead of "p" ! The only
2011 Sep 14
1
Building R package with precompiled shared library
Dear R users, we are trying to build a R package that includes a precompiled shared library, let's say mylib.so. We created the skeleton of the package and we moved the mylib.so file into the libs folder that we created at the same level of the folders man and R. Moreover we created the file NAMESPACE and we added the line useDynLib(mylib, .registration=TRUE). The building step seems to work
2006 Nov 23
2
loading libraries on MPI cluster
Dear R-users, we are using library(snow) for computation on a linux cluster with RMPI. We have a problem with clusterEvalQ: after launching clusterEvalQ it seems loading the required library on each node but if we type a function belonging to the loaded package R doesn't find it. > library(snow) # making cluster with 3 nodes > cl <- makeCluster(3, type = "MPI") Loading