similar to: kmeans: invalid length argument

Displaying 20 results from an estimated 300 matches similar to: "kmeans: invalid length argument"

2008 Oct 02
1
possible bug in function 'var' in R 2.7.2?
Dear R-Help, I have used R2.6.0 until I recently installed also R2.7.2 (see details below) In R 2.6.0, the following script using the function 'var' (cor(stats)): x.test <- c(NA, NA, NA, NA) var(x.test, na.rm=T) gives the output: NA In R2.7.2 the output of the same script generates an error message and stops R: 'Error in var(x.test, na.rm = T)
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
2001 Jul 29
1
Compiling R (1.3.0) on AIX (4.3) fails (PR#1034)
Hi, This email reports bugs in acinclude.m4, src/library/tcltk/src/Makefile, and share/perl/Rd2contents.pl. It is based on R-patched.tgz from 07/27/2001 (R 1.3.0) and comes from trying to compile R on AIX 4.3. 1) acinclude.m4: A string on line 3096 starts with a single quote: ' but is terminated with a double quote: ". (This leads to the weird error message that configure can't
2008 Oct 10
1
R2.7.2 graph printing issue: incomplete printing
Hi, I have encountered a problem with R2.7.2 printing. I used the following code to generate a graph: a <- 1:50 b <- a plot(a~b) In the pop-up windows with the graph, I try to print the graph by using "File" -> "Print". The graph was printed, but it was incomplete. Some area was missing in the lower part and the right part. Can somebody help me to resolve this to
2005 Oct 12
1
Using matprod from array.c
Hi, I was wondering if I could use the matprod function from array.c in my own C routine. I tried the following as a test /* my_matprod.c */ # include <Rinternals.h> /* for REAL, SEXP etc */ # include <R_ext/Applic.h> /* array.c says need for dgemm */ /* following copied from array.c */ static void matprod(double *x, int nrx, int ncx, double *y, int nry, int ncy, double *z)
2010 May 19
1
Multiple language output - Correct in RGui, wrong in .txt after sink()
I have the following problem with outputting multilingual data to a file. I get (except for Korean) what I expect as result in the RGui, but when I use sink() to output to a text file loose the characters in the foreign languages. I post a small example below. Since I am not sure how well my email system as the list copes with all the different characters I have additionally created a pdf
2008 Oct 29
2
behavior of "by"
Any insight into the behavior of "by" in the following case would be appreciated. There is a note in the help details for "by" about documenting behavior since v2.7 but I don't entirely understand what it is saying. I'm using R2.7.2 Windows. I'm interested if the following behavior was a change or whether it has always worked this way. I looked at
2015 Mar 04
3
supermin on arm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I was testing oz/imagefactory on 32 bit arm, you have to have kernel-lpae installed to run kvm. while you can have the regular kernel installed also. You end up having the system booting the regular kernel and you do not get kvm. Ideally supermin will work with the lpae kernel.
2013 Mar 05
1
memory leak in 3.3.1 rebalance?
I started rebalancing my 25x2 distributed-replicate volume two days ago. Since then, the memory usage of the rebalance processes has been steadily climbing by 1-2 megabytes per minute. Following http://gluster.org/community/documentation/index.php/High_Memory_Usage, I tried "echo 2 > /proc/sys/vm/drop_caches". This had no effect on the processes' memory usage. Some of the
2008 Nov 07
1
sapply and median, possible or not ?
Hello, I have a list of data.frame rowsplit : List of 15 $ (0,0.025] :'data.frame': 169 obs. of 7 variables: $ (0.025,0.05]:'data.frame': 174 obs. of 7 variables: $ (0.05,0.075]:'data.frame': 92 obs. of 7 variables: $ (0.075,0.1] :'data.frame': 76 obs. of 7 variables: $ (0.1,0.125] :'data.frame': 37 obs. of 7 variables: $
2006 Nov 13
1
Nominal Respose Model in R
Hi: I have been working in Item Response Theory, exactly, with Nominal Response Model (NRM). Exist in R a function for estimate parameter and ability from database for this Model?. Thank you, Xavier G. Ordóñez [[alternative HTML version deleted]]
2012 Oct 12
1
ks.test not working?
Hi, I am performing GEV analysis on temperature/precipitation data and want to use the ks.boot function but I am unsure of how to implement it using the pgev distribution. For example: ks.test(data,pgev,shape,location,scale) ks.boot(data,(distribution parameters?),alternative="pgev",nboots=1000) Any advice? Apologies in advance if I have used the wrong email address. Regards, Louise
2010 Nov 19
1
I18n::InvalidLocaleData error on load page
Hi All, I use rails 3.0.1 in my application and when the server web load this following page http://localhost:3000/signup <h1>Sign up</h1> <%= form_for(@user) do |f| %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :email %><br
2009 Mar 27
0
RExcel rcom Server Loading The Wrong Version of R
Hi, I'm pretty new to R and VERY new to RExcel. I've just finished setting it up and I'm having some problems. My first Issue is that if I attempt to use a function like RApply("sum", A1:A4) from within excel it gives me an error saying "There seems to be no R process connected to the server" I can then see an R Console open up and I get a message saying R
2008 Sep 20
0
Error in GEE model fit
Hi, I would like to fit a GLM model with GEE on clustered data. I tried to use gee in the GEE package on a twin data set. All cluster are of size 2. I removed the missing data and ordered by IDENTIF2 first. library(gee) mod.pc <- gee(Y ~ X1 + X2 , id = IDENTIF2, family = binomial, corstr = "unstructured", data = na.omit(df)) gives the following result : Beginning Cgee S-function,
2019 Jun 21
0
Wine release 4.11
The Wine development release 4.11 is now available. What's new in this release (see below for details): - Updated version of the Mono engine, including Windows.Forms. - More DLLs are built as PE files by default. - Faster implementation of Slim Reader/Writer locks on Linux. - Initial support for enumerating display devices. - Various bug fixes. The source is available from the
2012 Oct 12
0
(no subject)
Hi All, I am performing GEV analysis on temperature/precipitation data using L moments: dim(data) [1] 145 192 156 Lmoments <- apply(data, 1:2, function(x) samlmu(x,nmom=4,sort.data=TRUE)) params_GEV <- apply(Lmoments,2:3,pelgev) location <- params_GEV[1,,] (xi) scale <- params_GEV[2,,] (alpha) shape <- params_GEV[3,,] (k) I want to use the ks.boot function but I am
2008 Sep 03
1
ugly plots with xlim/ylim exceeding data range (changed since R2.6.1)
The behaviour of the plot function when used with xlim/ylim and the matplot function as in the following simple example changed between R2.6.1 and 2.7.0+ producing ugly plots in the new versions. In case of plot it looks like the pretty function is called with wrong arguments (i.e. range of supplied data rather than values of xlim and ylim): m = matrix(c(-0.033, 0.009, 0.064, 0.050, 0.097,
2013 Aug 25
2
Backend for Lucene format indexes-How to get doclength
On Tue, Aug 20, 2013 at 07:28:42PM +0800, jiangwen jiang wrote: > I think norm(t, d) in Lucene can used to caculate the number which is > similar to doc length(see norm(t,d) in > http://lucene.apache.org/core/3_5_0/api/all/org/apache/lucene/search/Similarity.html#formula_norm). It sounds similar (especially if document and field boosts aren't in use), though some places may rely on
2007 Sep 05
0
New R package plink for separate calibration IRT linking
The first version of the package plink has been uploaded to CRAN. plink is a package for conducting unidimensional IRT scaling and chain linking for multiple groups for single-format or mixed-format common items. The package supports eight IRT models and four calibration methods. Dichotomous Models: 1PL, 2PL, 3PL Polytomous Models: -Graded response model -Partial credit model -Generalized