search for: ncluster

Displaying 12 results from an estimated 12 matches for "ncluster".

Did you mean: cluster
2011 Oct 11
1
Labels in ICLUST
Dear all, I can't get the labels slot in ICLUST to accept a character vector. library(psych) test.data <- Harman74.cor$cov ic.out <- ICLUST(test.data,nclusters =4,labels=letters[1:ncol(test.data)]) ##?Error in !labels : invalid argument type ic.out <- ICLUST(test.data,nclusters =4,labels=1:ncol(test.data)) ## OK Any ideas?
2013 Mar 06
1
Help with a function and text
...t; > I am writing some code to generate a function. I am passing that code to a > dataset which i'm importing in R, e.g. > Test=read.table('C:/test.txt', header=F, sep='\t', na.strings='NA', dec='.', > strip.white=TRUE) > Test > > V1 > (if(nclusters>0){OptmizationInputs[3,3]*beta[1]}else{0})+" > (if(nclusters>1){OptmizationInputs[3,3]*beta[1]}else{0})+" > V1 has inside a code for a function. > > I'm having problems with 2 things: > > 1 - I need to take out from V1 all " that appears in the text, i tr...
2010 Mar 01
0
question on DPpackage
...presented by hospital of dmission. The main goal would be the reconstruction of random effect density, because we are interest in founding (if present) groups of "similar" hospitals. Now, I found some trouble in doing this beause I don't understand how outputs "ss", "ncluster" and "mub" work. Particullary, how does the package compute "ss" starting from "ncluster" distribution? How should I interpret the vector "mub"? I tried to look into the fortrand code, but I'm not used to that language so it didn't help me a...
2011 Feb 04
1
GWAF package: lme.batch.imputed(): object 'kmat' not found
...ile = 'CARe_imputed_release.0.fhsR.gz', pedfile='pedfile.csv', phen='phen1', covar=c('covar1','covar2'), kinmat='imputed_fhs.kinship.RData', outfile='imputed.FHS.IBC.GWAF.LME.output.0.txt' )) Gives the error messages: Error in coxme.varcheck(ncluster, varlist, n, gvars, groups, sparse, rescale, : object 'kmat' not found Error in lme.cov.out$theta : $ operator is invalid for atomic vectors Might anyone know why? Thank you for your time! Jim --------------------------------------------------- > R.Version() $platform [1] "x8...
2012 Nov 20
1
parApply computing
I'm using /parApply/() function in "snow" package for parallel computing (boostrapping repeating calculation), as the follows: MyBoostrapping <- function( i ){ ..... } cl <- makeCluster( ncluster, type = "SOCK") i.circle <- as.matrix( 1:128, , 1) parApply( cl, i.circle, 1, FUN = MyBoostrapping) It works. However, I want to set more than one arguments to function MyBoostrapping, e.g., MyBoostrapping <- function( i , A, B) Would you please help me on it? Thank you very much...
2007 Dec 10
1
cyclic dependency error
...e 'clValid' ** Removing '/Users/guybrock/Documents/projects/DattaPackages/Cluster/clValid_0.5-4.Rcheck/clValid' The NAMESPACE file is below, .onLoad <- function(lib, pkg) require(methods) importFrom(graphics, plot) exportClasses(clValid) exportMethods(clusters, clusterMethods, nClusters, measNames, measures, optimalScores, plot, print, show, summary) S3method(print,sota) S3method(plot,sota) export(clValid, sota, dunn, connectivity, BHI, BSI, stability, matchGO) My question is - how can I locate the source of the cyclic dependency error? This is an updated version of a package w...
2010 May 18
2
survey package: weights used in svycoxph()
Dear R-help, Let me know if I should email r-devel instead of this list. This message is addressed to Professor Lumley or anyone familiar with the survey package. Does svycoxph() implement the method outlined in Binder 1992 as referenced in the help file? That is, are weights incorporated in the ratio term (numerator and denominator) of the estimating equation? I don't believe so since
2011 Apr 15
1
no solution yet, please help: extract p-value from mixed model in kinship package
...**********************error > message******************************************** > Error message: Error in lmekin(yvar ~ mydata[, 3], data = mydata, random = ~1 | id, varlist = list(kmat))$coefficients[2, : incorrect number of dimensions In addition: Warning message: In coxme.varcheck(ncluster, varlist, n, gvars, groups, sparse, rescale, : Diagonal of variance matrix is not constant #**************************************ultimate target: to put in loop******************************* > Ultimately I want to put into the loop: > > for(i in 3:length(mydata)) { > > P <-...
2008 Jan 14
0
clusterwise regression from fpc (fixed point clustering) package
...uot;, header=TRUE)abh <- read.table("G:/Data_Files/SPSS Files/abh.csv", sep=";", header=TRUE)m <- as.matrix(unabh)attach(abh)rmt1 <- regmix(m, VVV, ir=1, nclus=1:2,icrit=1.e-5, minsig=1.e-6, warning=TRUE)write.table(rmt1$g) this is just an example i have tried other nclusters and without the warning=TRUE and without any instruction beyond the variables but when trying more clusters he never stops calculating (maybe there are too many respondents r.b. 4000 ???) my objective: i want a couple of meaningful clusters with meaningful regressions does anybody know wha...
2016 Feb 24
2
[PATCH 1/5] fat: fix minfatsize for large FAT32
When trying to installing Syslinux on a FAT32 drive formatted using Ridgecrop's Large FAT32 formatting tool [1], the installer will bail due to the minfatsize check, as there is an extra sector being used. This fix addresses that. [1] http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm -------------- next part --------------
2016 Feb 25
3
[PATCH 1/5] fat: fix minfatsize for large FAT32
...irmed new volume has a secondary FAT32 boot sector Setting secondary FAT32 boot sector for boot... Setting Label (This may take while)... Format completed. Writing master boot record... (...) Installing Syslinux 6.03... Opened drive \\?\Volume{00466cbf-0000-0000-0000-100000000000} for write access nclusters = 3051903 fat_type = FAT28, LIBFAT_SECTOR_SHIFT = 9 minfatsize = 23843 (patched, after shift) fatsize = 23843 Successfully wrote Syslinux boot record ----------------------------------------------------------------------- If minfatsize wasn't patched (original Syslinux code) it would be...
2016 Feb 25
0
[PATCH 1/5] fat: fix minfatsize for large FAT32
...ector > Setting secondary FAT32 boot sector for boot... > Setting Label (This may take while)... > Format completed. > Writing master boot record... > (...) > Installing Syslinux 6.03... > Opened drive \\?\Volume{00466cbf-0000-0000-0000-100000000000} for write > access > nclusters = 3051903 > fat_type = FAT28, LIBFAT_SECTOR_SHIFT = 9 > minfatsize = 23843 (patched, after shift) > fatsize = 23843 > Successfully wrote Syslinux boot record > ----------------------------------------------------------------------- > > If minfatsize wasn't patched (...