search for: cmcleland

Displaying 3 results from an estimated 3 matches for "cmcleland".

Did you mean: ccleland
2001 May 31
1
Screeplot
I'm trying to make a screeplot including the Cumulative Proportion of the Variance, something that can easily be done in S-Plus with 'screeplot(pc.object,cumulative=T)'. How can I access the Proportion of Variance in an princomp object and how could I get the Cumulative Proportion of the Variance on the screeplot? Many thanks in advance, Jan:-) --
2001 Mar 16
2
apply()
Hi, I input this command on a data matrix: > apply( traffic, 2, function(z){z-mean(z)}) and got the following error messages: Error in sum(..., na.rm = na.rm) : invalid "mode" of argument Can anyone tell me what is wrong here? Running R1.2.2 on Windows ME. Cheers, Kevin ------------------------------------------------- Ko-Kang Kevin Wang Statistical Analysis Division
2001 Aug 21
4
looking for a smarter way
I have two problems where I've come up with some code that will do the analysis that I want, but it looks pretty clumsy. In the first case, I calculate the variance on five different columns for each of 14 clusters and get them into one matrix. I get the job done, but I would have thought that it could be done in one or two lines, not six, and be generalized so that it didn't matter how