Displaying 6 results from an estimated 6 matches similar to: "reshape and split"
2009 Mar 13
2
Taking diff of character vectors
Hello, everybody
Say I have
nm1 <- c(rep(1,10), rep(0,10))
then I can do:
diff(nm1)
to see where I have shift in value
but what if I have
nm2 <- c(rep("SPZ8", 10), rep("SPX9", 10))
how can I produce the same ouput as diff(nm1) does, that is zeros
everywhere except for one place where SPZ8 changes to SPX9 (there
should be 1 there)?
What if I have a matrix of characters
2009 Sep 20
4
correlation help
Dear group,
I have a matrix like the following:
Name Sample1 sample2 sample3 sample4 ..... sample(n)
nm1 10.5 13.5 30 31
nm2 8 11 34 29
nm3 9 10.3 27.8 35
nm(j)
I want to be able to calculate correlation between all pairs of names.
For example (nm1,nm2),
2002 Mar 20
3
tex/latex output?
Is it possible to write the output/results (redirect) to a latex file?
Jeff.
Jeff D. Hamann
Hamann, Donald & Associates, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
Bus. 541-753-7333
Cell. 541-740-5988
jeff_hamann at hamanndonald.com
www.hamanndonald.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2011 Oct 17
1
plotting issues with PCA
Hi Listers,
This has a simple answer but it has been eluding me nonetheless.
I have been building a PCA plot from scratch with the ability to plot
predefined groups in different colors. This has worked fine but when I try
to get a polygon drawn around each of the groups it is not recognising my
colour file correctly and is only printing the first colour in the
file....code is below
2004 Aug 06
0
FYI: ACM codecs in Netmeeting
If you want to use the Speex ACM codec in Netmeeting, you need to register
the codec with Netmeeting. Microsoft offers an API to accomplish this
task.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmeet/nm3
codec_1xk3.asp
The function is called AddACMFormat in the IInstallAudioCodecs COM
interface.
It takes a fully initialized WAVEFORMATEX structure as well as an extra
2009 Mar 14
1
multiple hypothesis testing
Dear all,
Myself Vijaykumar Muley working as senior research fellow. By training I am
a computational biologist with not a strong knowledge of statistics. I have
done some analysis which is explained as follows,
I have 10340 (X) profiles of binary vectors with same length(N=845), I will
call then "gene profiles"
for example...
v1 v2 v3 v4.....vN
a 1 0 1 0 1
b 0