similar to: I can't install dprep

Displaying 20 results from an estimated 1100 matches similar to: "I can't install dprep"

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 =
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 Mar 28
0
Outlier detection with the dprep library
Hi. The dprep library has at least three different methods for outlier detection: baysout, mahaout, robout. I wanted to test them on a very simple data set: vrmat<-cbind((1:22),c(8,14,14,17,21,20,27,23,25,33,31,32,30,36,37,40,42,44,52,61,81,265)) As you can see by eyeballing this, the last point is a very good outlier candidate, and maybe the second to last point, too. Anyway, I
2009 May 29
4
logical vector as a matrix
I have a vector like this: h <- c(4, 6, NA, 12) and I create the secound logical vector like this: g <- c(TRUE, TRUE, FALSE, TRUE) And my problem is that I would like to get a new "m" vector as a rasult "h" and "g"( as dot-matrix printer) but with missed "NA" value, for example: m = (4,6,12) Do you have any idea? -- View this message in
2009 Jun 08
4
seq(...) strange logical value
Do you heve any idea why I get after this instruction everywhere false? > seq (0, 1, by=0.1) == 0.3 [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE But after different step it's ok: > seq(0, 1, by=0.1) == 0.4 [1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE -- View this message in context:
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
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
2009 Jun 01
2
add values inside vector
I think it's easy problem but I can't find solution. I have a vector: vec <- c (23.4, 3.0, 14.7, 7.7) and I would like to add all values which are inside my vector to each other. as a result a want to get one value like sum all values from my vector- sth=(23.4 + 3.0 + 14.7 + 7.7) PS. I usually don't know how long is my vector in my function -- View this message in
2009 May 14
2
I want to avioid unnecessary value
I have a database like this: "kol1";"kol2";"kol3" ... "2";"5";"9" "9";"6";"6" "4";"6";"5"... I looking for a kod in R which let mi aviod in column unnecessary value, for example number "9". So, if I have: Kol1 2 9 4 4... after loop in R I would like to get my
2009 Apr 29
2
library which convert dates
I'm looking for library which let mi convert dates for example like this: 00-06-05 00:00 00-08-06 00:00 00-08-16 00:00 00-05-23 00:00 00-01-14 00:00 00-10-28 00:00 and as a result I want to get a 3 levels -- View this message in context: http://www.nabble.com/library-which-convert-dates-tp23295853p23295853.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 01
3
Editor R
Do you know any good editor R? -- View this message in context: http://www.nabble.com/Editor-R-tp23822342p23822342.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 15
2
function inside ifelse
Hi, Could you tell me, if it's possible to create ifelse and put function inside, for example: code{ ifelse ((is.na(vek)), call_fun_1(arguments), call_fun_2(arguments)) call_fun_1 <- function(arguments) { sth... } } -- View this message in context: http://www.nabble.com/function-inside-ifelse-tp24035739p24035739.html Sent from the R help mailing list archive at Nabble.com.
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
2009 Jun 14
3
if + is.na
Hello! I wont to use a function is.na() I have two vectors: > a=c(1,NA,3,3,3) > b=c(0,0,0,0,0) and when I use is.na function it's ok: > is.na(a) [1] FALSE TRUE FALSE FALSE FALSE but I would create sth like this: for i in 1:length(a){ if (wsp[i] == is.na(a)) {b=43} } or like this if(is.na(a)) b=3 else a [1] 1 NA 3 3 3 but I always get an error: the condition has
2011 Oct 07
3
Re: [1.2] Trying to run MAFIA II under wine
Lukash wrote: > Hello to everybody! > I finally managed to launch Mafia II on my Ubuntu 10.10 64bit - Steam version thanx to Kairhos. I was not able to do so earlier. > But, If I try to launch new game, it gets stuck. Any ideas? Thanks Hi! I was able to launch Mafia on Windows 7 Ultimate 64-bit :)
2010 Jan 06
1
math function - MDS method
Hi, I need math function which is used in: isoMDS, Sammon and metaMDS method. Anybody know where I may find it? Any manual or webside? I would be very happy Thanks a lot ! -- View this message in context: http://n4.nabble.com/math-function-MDS-method-tp1008294p1008294.html Sent from the R help mailing list archive at Nabble.com.
2009 May 31
1
Error:non-numeric argument in my function
Hello! I have a function: zywnoscCalosc<- function( jedzenie, n1, n2, n3, n4, d1, d2, d3, d4 ) { ndf <- data.frame(nn1=n1,nn2=n2,nn3=n3,nn4=n4) ddf <- data.frame(dd1=d1,dd2=d2,dd3=d3,dd4=d4) for (i in 1:length(n1)){ wekt_n = ndf[i,] wekt_n_ok = wekt_n[!is.na(wekt_n)] dl_n = length(wekt_n_ok) wynik = (1*wekt_n_ok)/(1*dl_n) } } and I get an error like this: Error in 1 * wekt_n_ok :
2009 Jun 16
1
ifelse(is.na), with function inside
Hi, I have a vector a=c(NA, 3, 4, 4, NA, NA, 3) and I would like to use is.na(a) function to get a vector like this: wy=(1,2,2,2,1,1,2) - you know, this vector create 1 or 2 depends on value in vector "a" This is my short code but something is wrong and I don't know what... for (i in 1:7){ a=c( NA, 3, 4, 4, NA, NA, 3) fun1=function(x){ x=1 print(x) } fun2=function(x){
2007 Apr 12
2
problems in loading MASS
Hi, there: After I upgraded my R to 2.4.1, it is my first time of trying to use MASS and found the following error message: > install.packages("MASS") --- Please select a CRAN mirror for use in this session --- trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/universal/contrib/2.4/VR_7.2-33.tgz' Content type 'application/x-gzip' length 995260 bytes opened URL
2009 Aug 13
1
write result in matrix using loop
Hello, I want call my function (use my database) and write every result in matrix "wynik" but I always get an error: Error in wynik[, i] <- dodawanie(wzorzec, wzorzec1) : number of items to replace is not a multiple of replacement length I'll be very happy if sb help me dodawanie<- function ( wzorzec, wzorzec1){ wynik1<-wzorzec + wzorzec1 wynik2<-wzorzec *