similar to: Outlier detection with the dprep library

Displaying 20 results from an estimated 700 matches similar to: "Outlier detection with the dprep library"

2009 Apr 28
1
I can't install dprep
When I want to install "dprep" and I always get information: > install.packages("dprep") Warning in install.packages("dprep") : argument 'lib' is missing: using 'C:\Users\Documents/R/win-library/2.8' --- Please select a CRAN mirror for use in this session --- Warning message: package ?dprep? is not available I have tried a lot of mirror...
2007 Jun 20
1
Error in funcion distancia() in package dprep(v1.0) (PR#9745)
Full_Name: Kang Yousan Version: 2.5.0 OS: Windows XP Submission from: (NULL) (211.137.211.67) There is a bug in function distancia() in package dprep. See the description below. > distancia 1 function (x, y) 2 { 3 if (class(y) == "matrix") { 4 distancia = drop(sqrt(colSums((x - t(y))^2))) 5 distancia = t(distancia) 6 } 7 else distancia =
2007 Mar 05
2
Linear programming with sparse matrix input format?
Hi. I am aware of three different R packages for linear programming: glpk, linprog, lpSolve. From what I can tell, if there are N variables and M constraints, all these solvers require the full NxM constraint matrix. Some linear solvers I know of (not in R) have a sparse matrix input format. Are there any linear solvers in R that have a sparse matrix input format? (including the
2007 Jan 11
1
rank function and NA in 2.3.1
Hi. I am using R 2.3.1 on WIndows XP, and I am having trouble with the rank function in the presence of numerical NA data. I want the NA's all to get the same rank, but they don't. Here is an example from my session: >ct_align_rets_f2$liq[6851:6859] [1] 115396 NA 362595 NA 242986 340805 NA 692905 251533
2009 Sep 06
1
Two packages and one method
Hi! I want to use one method "combinations" from "gtools" package but in my code I must use also "dprep" method where is method "combinations" too. Mayby I show you result my help function: Help on topic 'combinations' was found in the following packages: Package Library dprep /usr/lib64/R/library gtools
2007 Dec 26
1
Can you recover default argument values of a function?
Hi. Maybe this is a stupid question. If so, I apologize, but here goes. Suppose I have a function f1(x,...) that calls a function f2(y1,y2,...,yn) in the following way: if x satisfies a certain condition, then I want to call f2(x,y2,...,yn); otherwise I want to use the default value of y1, if there is one. I could do something like the following: v <- ifelse ( is.null(x), f2( , y2,...,
2008 Jan 07
3
Seeking a more efficient way to find partition maxima
Hi. Suppose I have a vector that I partition into disjoint, contiguous subvectors. For example, let v = c(1,4,2,6,7,5), partition it into three subvectors, v1 = v[1:3], v2 = v[4], v3 = v[5:6]. I want to find the maximum element of each subvector. In this example, max(v1) is 4, max(v2) is 6, max(v3) is 7. If I knew that the successive subvector maxima would never decrease, as in the example,
2007 Feb 01
3
Can this loop be delooped?
Hi. I have the following code in a loop. It splits a vector into subvectors of equal size. But if the size of the original vector is not an exact multiple of the desired subvector size, then the first few subvectors have one more element than the last few. I know that the cut function could be used to determine where to break up the vector, but it doesn't seem to provide control over
2007 Dec 10
4
Reading through a group of .RData files
Hi. I have a procedure that reads a directory, loops through a set of particular .RData files, loading each one, and feeding its object(s) into a function, as follows: cvListFiles<-list.files(fnDir); for(i in grep(paste("^",pfnStub,".*\\.RData$",sep=""),cvListFiles)){ load(paste(fnDir,cvListFiles[i],sep="/")); myFunction(rliObject); rm(rliObject); };
2010 Jan 11
0
trouble with installing pbatR
Hello folks, I am having a problem installing pbatR package. (My R version is 2.8.1.) As I execute a command > install.packages(lib='/usr/local/apps/R-2.8.1/lib64/R/library', "pbatR") it detects lack of rootSolve package and attempts to install it. But cannot seem to compile it, and the rest is aborted. Any hint as to what I can do? Thank you in advance for your
2008 Jan 02
2
Seeking a more efficient way to read in a file
Hi. I have a matrix stored in a large, tab-delimited flat file. The first row contains column names. Because the matrix is symmetric, the file has lower triangular format, so the second row contains one number, the third row two numbers, etc. In general, row k+1 contains k numbers; the matrix has 3000 rows, so the file has 3001 rows. The file has variable length records, so each row ends
2006 Jul 12
0
Discretize data.frame
Dear useRs, I use dics.ef function from dprep package to discretize continuous variable using intervals of equal frequencies. Dataset to be discretized include 4 continuous and 2 discrete variables in the following order: Continuous Countinuous Countinuous Discrete Discrete Continuous The problem emerge when I try to discretize the last continuos variable: library(dprep)
2007 Sep 21
1
Is it solve.QP or is it me?
Hi. Here are three successive examples of simple quadratic programming problems with the same structure. Each problem has 2*N variables, and should have a solution of the form (1/N,0,1/N,0,...,1/N,0). In these cases, N=4,5,6. As you will see, the N=4 and 6 cases give the expected solution, but the N=5 case breaks down. >cm8 [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 1 0
2014 Jun 01
1
Win32 Service
The KH Build? What does that mean?? Mit freundlichen Gr??en Tobias - Wile C --------------------------------------- Web: http://www.djwilec.de | http://www.djwilec.com | http://www.tmk-audio.de | http://www.tmk-audio.com Socials: http://www.facebook.com/djwilec | http://twitter.com/djwilec | http://soundcloud.com/djwilec | http://www.mixcloud.com/djwilec | http://dj.beatport.com/djwilec >
2005 Feb 04
2
genetic algorithm
Hi, I am doing some research on feature selection for classfication problem using genetic algorithm in a wrapper approach. I am wondering if there is some package which is already built for this purpose. I was advised before about dprep package but I don't think it used GA there (if I am wrong, please correct me!) Thanks, Ed
2010 Oct 27
0
"server string" ignored by Windows 7?
I'm upgrading the desktops on my LAN from Windows XP to Windows 7 (x64 Ultimate, if that matters). The samba version is 3.5.6 on FreeBSD 8.1 amd64. I can successfully map the samba shares on both XP and 7, but while XP shows the expected description which includes the server string (for ex- ample, "data on 'RAIDzilla II (rz2)' (Y:)", 7 shows only "data (\\rz2)
2010 Jan 01
0
Windows 7 .vhd "The version does not support this version of the file format" error
I searched the archives for this particular error message, and only found one match from a user doing backups from Windows Server 2008 R2. I'm running FreeBSD 7.2 with (initially) SAMBA 3.3.9 from the FreeBSD Ports Collection. I have a very simple config (included below). The client is Windows 7 Ultimate x64 (RTM version w/ all Windows updates applied). I can create a Virtual Hard
2008 Dec 09
4
Pre-model Variable Reduction
Hello All, I am trying to carry out variable reduction. I do not have information about the dependent variable, and have only the X variables as it were. In selecting variables I wish to keep, I have considered the following criteria. 1) Percentage of missing value in each column/variable 2) Variance of each variable, with a cut-off value. I recently came across Weka and found that there is an
2011 Oct 11
1
Mean or mode imputation fro missing values
Dear R experts, I have a large database made up of mixed data types (numeric, character, factor, ordinal factor) with missing values, and I am looking for a package that would help me impute the missing values using ?either the mean if numerical or the mode if character/factor. I maybe could use replace like this: df$var[is.na(df$var)] <- mean(df$var, na.rm = TRUE) And go through all the many
2007 Jul 27
2
Matrix Multiplication, Floating-Point, etc.
Hi. I recently tried the following in R 2.5.1 on Windows XP: >ev2<-c(0.8,-0.6) >ev1<-c(0.6,0.8) >ev1%*%ev2 [,1] [1,] -2.664427e-17 >sum(ev1*ev2) [1] 0 > (I got the same result with R 2.4.1 on a different Windows XP machine.) I expect this issue is very familiar and probably has been discussed in this forum before. Can someone please point me to some