Displaying 3 results from an estimated 3 matches for "ncenter".
Did you mean:
center
2004 Apr 27
1
beginners k means clustering question
...g R commands:
data <- read.table("cluster.txt")
dataMatrix <- t(data)
I then tried to cluster using the following:
xcl <-cclust(dataMatrix,2,20,verbose=TRUE,method="kmeans")
when I run this i receive the following error message:
Error in x[rank(runif(xrows))[1:ncenters], ] :
incorrect number of dimensions
I would be grateful for any pointers in the right direction
Thanks for your help
Saurabh
[[alternative HTML version deleted]]
2009 Aug 25
1
Problem with correct usage of formula environment
...as all variables used are columns of the design data frame. For one
function, I would like to incorporate a dummy variable for center points
that is not a column of the design. Without this function, it would work
like this (at least version 0.97 of package FrF2):
require(FrF2)
plan <- FrF2(8,4,ncenter=6)
y <- rnorm(14)
r.plan<-add.response(plan,y)
lm(y~A+B+C+D+!iscube(r.plan), r.plan)
Building the formula from within function formula.design works OK at first
sight:
> formula(r.plan)
y ~ A + B + C + D + (!iscube(r.plan))
However, using the formula in a linear model call does not work i...
2010 Aug 03
1
Help on Full Factorial Design
Hi Everyone,
I found the doe.base package and the FrF2 package to do nice experimental
planning and I'm very happy about this tool I was looking for such a long
time.
But I still try to find out how to add center points to a full factorial
design. The FrF2-package has a center point option but is just supporting
fractional designs?
Is there a possibility to have center points within the