Hi there,
i tried to run an ordered logistic regression with polr. so far it
worked after i turned my data into factors.
but here´s my problem:
my output is like this:
Call:
polr(formula = factor(fulltest[, 1]) ~ factor(fulltest[, 2]) +
factor(fulltest[, 10]), method = logistic)
Hi everybody,
i am like to do a ordered logistic model, but cant figure out which
syntax / library fits best.
i´ve answer possibilites in a matrix (-1 0 1 2 3), these are saved as
factors.
i guess i need something pretty basic. i tried VGAM, polr but
received not what i wanted.
Whicht
Hi there,
i´ve trouble understanding the factanal output of R.
i am running a a FA on a dataset with 10 variables.
i plotted eigenvalues to finde out how many factors to try.
i think the elbow is @ 3 factors.
here are my eigenvalues: 2.6372766 1.5137754 1.0188919 0.8986154
0.8327583 0.7187473
thx very much!
that helps to give those nodes somewhat dynamic names, so a legend to
explain those numbers would be a solution, i´ll think about.
Anyway, is it possible to name the nodes by hand, for example call
node1 myname1, node2 something else and so on ?
best
-m.
P.S.: Are there
Hi all,
ok, i know i can cut a dendrogram, which i did.
all i get is three objects that a dendrograms itself.
for example:
myd$upper, myd$lower[[1]], myd$lower[[2]]
and so on. of course i can plot them seperately now.
but the lower parts still have hundreds of branches. i´ll need a 30
Though your example helped, i am still trying to get exactly what i
want.
Here´s how i get my dendrogram. and my example... (using ward
instead of average, doesnt make any difference for my case - i believe)
hc=hclust(dist(mymatrix),average)
hcd=as.dendrogram(hc)
plot(hcd)
the major problem
Hi all, Hi Gavin,
thx for your help i finally found out what i want to do and how to
fix it.
just needed to get some more level my cut level was too small...
two question remain...
a) can i somehow scale the twigs after cutting ?
b) how can i label the nodes and how to label which one...
thx
Dear all,
i performed a clusteranalysis - which worked so far...
i plotted the dendrogram and sooo many branches, a rough sketch would
be enough ;)
i tried max.levels therefore which worked, but not for the plot...
i used the following
plot(hcd,nodePar =nP, str(hcd,max.level=1))
the output
Hi all,
how can i group branches of a dendrogram ?
thx in advance
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented,
dear all,
how can i get a vector that shows the number of the column of matrix
that contains the maximum of the row ??
can´t believe in need a loop for this...
i have a 100 x 3 matrix and want to get a 100 x 1 vector with values
1,2,3 .
there must be a simple solution. i just cannot find
dear all,
how can i get a vector that shows the number of the column of
matrix that contains the maximum of the row ??
can´t believe in need a loop for this...
i have a 100 x 3 matrix and want to get a 100 x 1 vector with
values 1,2,3 .
there must be a simple solution. i just
hello,
i have written a function to extract certain lines from a matrix. the
result is a matrix with 6 cols, named dynamically according to the
functions arguments.
the problem is now, that i'm not able to return the resultmatrix for
further use. the object is not being created.
example
Dear all,
i have a problem which deals with indexing again, i guess.
I am a beginner and though i read the S Poetry stuff it is not that
easy for me
to use the examples for my problems, maybe all this needs some
practice...
Here´s the question. As i want to perform a factor analysis i need
Hi there,
is there a possibility to count the number of appearances of an
element in a vector ?
i mean of any given element.. deliver all elements which are exactly
xtimes in this vector ?
thx in advance !!
__
R-help@stat.math.ethz.ch mailing list
Dear all,
again i have a problem with special case of dropping lines out of a
matrix.
i tried the following, where throwout is a vector of length 18 with
simple id values that should be compared to any
for (k in 1:length(throwout))
{
mymatrix=matrix(mymatrix[-(forfact[k]),],ncol=4)
Dear all,
i am stuck with a syntax problem.
i have a matrix which has about 500 rows and 6 columns.
now i want to kick some data out.
i want create a new matrix which is basically the old one except for all
entries which have a 4 in the 5 column AND a 1 in the 6th column.
i tried the following
it is
not good practice to 'rbind' an object in a loop -- it is
much better to create the matrix with its full size and then
subscript into it.
Patrick Burns
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and A Guide for the Unwilling S User)
bunny
Hello out there,
i am not yet that experienced and trying to my best on a real survey.
but i am stuck with a little matrix / vector problem.
my vector of answers could have a length of 3 or only one. i want to
rbind all the answers into one matrix. (one vector for each participant)
answers
Hi there,
i´m have vector of kernels. just like:
kernels = c('gauss','epan','rectangular')
i know there are density.default$kernels, but thats not my question
here. my own kernel functions are running and working.
my problem is the following is not working:
dev.off()
par(mfrow=c(3,3))
19 matches
Mail list logo