Displaying 6 results from an estimated 6 matches for "nmeths".
Did you mean:
nmeth
2005 Aug 19
2
tackle with error
Dear sir;
may you drop me some idea how can i get rid of following error message:
Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1)
i dont know what does nmeth and ther rest of error message mean? i have
a file which contains 460 rows and 174 columns including missing value
as NA.
Regards,
Mostafa
2012 Jan 14
1
Error: unexpected '<' in "<" when modifying existing functions
Hi.
I am trying to modify kmeans function.
It seems that is failing something obvious with the workspace.
I am a newbie and here is my code:
myk = function (x, centers, iter.max = 10, nstart = 1, algorithm =
c("Hartigan-Wong",
+ "Lloyd", "Forgy", "MacQueen"))
+ {
+ do_one <- function(nmeth) {
+ Z <- switch(nmeth, {
+ Z
2008 May 09
2
K-Means Clustering
Hello,
I am hoping you can help me with a question concerning kmeans clustering
in R. I am working with the following data-set (abbreviated):
BMW Ford Infiniti Jeep Lexus Chrysler Mercedes Saab Porsche
Volvo
[1,] 6 8 2 8 4 5 4 4 7 7
[2,] 8 7 4 6 4 1 6 7 8 5
[3,] 8 2 4
2009 Aug 06
0
K-means clustering with NA
I am running a k-means clustering code in R : mydata_kmeans5 <-
kmeans(mydata, centers=5).. But the problem is that the data is having some
"NA" in it. So R is showing me a message :Error in switch(nmeth, { :
NA/NaN/Inf in foreign function call (arg 1)
In addition: Warning messages:
1: In switch(nmeth, { : NAs introduced by coercion
2: In switch(nmeth, { : NAs introduced by
2007 May 27
2
[Bioc-devel] promptClass
promptClass fails to identify methods associated with the class. Here
is a fix:
Index: promptClass.R
===================================================================
--- promptClass.R (revision 41719)
+++ promptClass.R (working copy)
@@ -165,7 +165,7 @@
if (nmeths > 0) {
.meths.body <- " \\describe{"
for (i in 1:nmeths) {
- .sigmat <- sigsList(methnms[i], where)
+ .sigmat <- sigsList(methnms[i], where=whereClass)
for (j in seq_along(.sigmat)) {
if (!all(is.na(match(.sigmat...
2009 Apr 25
5
Out of memory issue
Hi all,
I am trying to run some plots on data, but when loading he CSV data
file R is stopping and I am getting an out of memory error.
Anyway to tweak this somehow to get it to run?
Using WinXP with 4 GB RAM
Tnx
Bruce