search for: xmatrix

Displaying 7 results from an estimated 7 matches for "xmatrix".

Did you mean: matrix
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
...0 as.integer(shrinking), 721 PACKAGE="kernlab") 722 tmpres <- resv[c(-(m+1),-(m+2))] 723 alpha(ret) <- coef(ret) <- tmpres[tmpres != 0] 724 svindex <- alphaindex(ret) <- which(tmpres != 0) 725 xmatrix(ret) <- x[svindex, ,drop=FALSE] 726 b(ret) <- resv[(m+1)] 727 obj(ret) <- resv[(m+2)] 728 param(ret)$epsilon <- epsilon 729 param(ret)$C <- C 730 } 731 732 ## nu regression 733 if(type(ret) =="nu-svr") 734 {...
2006 Aug 16
1
help about agnes
...7,] 6.403124 6.082763 4.242641 4.472136 5.000000 3.605551 0.000000 2.000000 [8,] 8.062258 8.062258 5.830952 5.656854 6.708204 3.000000 2.000000 0.000000 I want to apply the cluster algorithm using single linkage procedure. The metric is the euclidean metric. In order to do this, I do: aux=agnes(xMatrix, diss = inherits(xMatrix,"dist"),metric="euclidean",method="single") Next, I do plot(aux) because I want to view the dendogram. My question is about the graph of the dendogram. What means the number "height" that appears on the left hand of it? My assumpt...
2005 Jul 13
1
problems with MNP
...gt; > res1 <- mnp(PREVOTE3 ~ 1, choiceX = list(Clinton=UCLC, Dole=UDLC, Perot=UPLC), + cXnames = "ut", data = small, n.draws = 500, burnin = 100, + verbose = TRUE) The base category is `1'. The total number of alternatives is 3. Error in xmatrix.mnp(formula, data = eval.parent(data), choiceX = call$choiceX, : Error: Invalid input for `choiceX.' Some variables do not exist. > > # another try using a string type dependent variable > > res1 <- mnp(PRVOTE3 ~ 1, choiceX = list(Clinton=UCLC, Dole=UDLC, Perot=U...
2012 Jul 31
1
kernlab kpca predict
....- attr(*, "names")= chr [1:2] "Comp.1" "Comp.2" ..@ kernelf :Formal class 'rbfkernel' [package "kernlab"] with 2 slots .. .. ..@ .Data:function (x, y = NULL) .. .. ..@ kpar :List of 1 .. .. .. ..$ sigma: num 0.2 ..@ kpar : list() ..@ xmatrix : num [1:130, 1:4] 5.1 4.9 4.6 5 5.4 4.6 5 4.4 4.9 4.8 ... .. ..- attr(*, "dimnames")=List of 2 .. .. ..$ : chr [1:130] "1" "2" "4" "5" ... .. .. ..$ : chr [1:4] "Sepal.Length" "Sepal.Width" "Petal.Length" "P...
2012 May 15
1
Regression Analysis or Anova?
...by 4 variables and X by 6, and I do not consider the negative values too, I get a very low score as my R^2. If I act with anova instead I have this problem: ________________________________________________________________________________________________________ > Ymatrix<- as.matrix(Y) > Xmatrix<- as.matrix(X) #where both this Y and X are in their first form, thus composed by more variables (4 and 6) and with #negative values as well. > Errore in UseMethod("anova") : no applicable method for 'anova' applied to an object of class "c('matrix', 'int...
2008 Sep 14
0
ksvm accessing the slots of S4 object
...scaling" "coef" "alphaindex" "b" [6] "obj" "SVindex" "nSV" "prior" "prob.model" [11] "alpha" "type" "kernelf" "kpar" "xmatrix" [16] "ymatrix" "fitted" "lev" "nclass" "error" [21] "cross" "n.action" "terms" "kcall" "class" >ksvm.model Support Vector Machine object of class "k...
2006 Oct 12
3
Cross two dataframe
Dear r-users! I would like to cross two data frame which have the same row number but different in the number of column. Can anybody help me for this case ? Thanks a lot in advance -------------------------------------------------------------------------------- Majid Iravani PhD Student Swiss Federal Research Institute WSL Research Group of Vegetation Ecology Z?rcherstrasse 111