search for: scv

Displaying 5 results from an estimated 5 matches for "scv".

Did you mean: sc
2012 Jan 19
1
converting a for loop into a foreach loop
...um 1765688 1765492 1765492 1765637 1765383 ... $ Y1 : num -3834667 -3834964 -3834964 -3834786 -3834990 ... for (i in 1:15) { x = data[data$ID == i, 1:10] for (j in 1:length(x$day)) { y = x[x$day == j, 1:10] for (k in 1:length(y$hour1)) { z = y[y$hour1 == k, 1:10] H.scv <- Hscv(z, pilot = "unconstr") KDE <- kde(z, H=H.scv, approx.cont=TRUE) str(KDE) head(KDE) write.csv(KDE, file = paste("KDE",i j k,".csv"), row.names=T) } } } The foreach code I've tried (unsuccessfully) is: x <- foreach(a = data[, 'ID'], .com...
2020 Oct 28
2
R optim() function
Hi R-Help, I am using R to do functional outlier detection (using PCA to reduce to 2 dimensions - the functional boxplot methodology used in the Rainbow package), and using Hscv.diag function to calculate the bandwidth matrix where this line of code is run: result <- optim(diag(Hstart), scv.mat.temp, method = "Nelder-Mead", control = list(trace = as.numeric(verbose))) Within the optim function, there is a call to an external C function: .External2(C_optim, pa...
2009 Nov 26
2
Export kde object as shapefile
I am trying to estimate home range size using the plug-in method with kernel density estimation in the kernel smoothing (ks) package. Unless there is another way I am not familiar with, in order to calculate spatial area under the space I need to convert my kde () object into a spatial object somehow in order to calculate its spatial area. Could someone demonstrate how this might be done? --
2008 Aug 25
2
Large Data Set Help
I am attempting to perform some simple data manipulation on a large data set. I have a snippet of the whole data set, and my small snippet is 2GB in CSV. Is there a way I can read my csv, select a few columns, and write it to an output file in real time? This is what I do right now to a small test file: data <- read.csv('data.csv', header = FALSE) data_filter <- data[c(1,3,4)]
2018 Feb 22
5
Which CDR processing for high load ?
Hello, I'm load testing a new Asterisk 13 system (Debian Stretch, packaged asterisk). One system writes CDR though an ODBC connection to a local Postgres database over the LAN. When sending 50 new calls per second with SIPp, I'm seeing one system outputs : taskprocessor.c: The 'subm:cdr_engine-00000003' task processor queue reached 5000 scheduled tasks again. This [1] thread