Re: [R] princomp/biplot

2006-09-03 Thread Prof Brian Ripley
On Sat, 2 Sep 2006, Rick Bischoff wrote:

 Infinite values?

Or NA or NaN values

 On Sep 2, 2006, at 3:48 PM, Nair, Murlidharan T wrote:
 
  I am getting the following error when I an trying to use princomp
  princomp(unique.data)
  Error in cov.wt(z) : 'x' must contain finite values only
 
  What do I look for?

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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, minimal, self-contained, reproducible code.


Re: [R] princomp/biplot

2006-09-03 Thread Nair, Murlidharan T
, 
6639.023708, 376.4619469, 24990.34567, 12562.08115, 3187.349827, 
12307.80303, 20779.99055, 1528.202321, 2564.929166), Tumor_80_204 = 
c(11417.25194, 
6992.472687, 2743.618114, 22253.30159, 9490.236273, 3821.5234, 
10974.28451, 15290.12188, 952.8203566, 7181.712809), Tumor_80_204.1 = 
c(11051.7521, 
5288.909975, 2134.634229, 19815.83464, 10435.51024, 1820.467531, 
11419.71779, 13071.72718, 841.5077374, 8431.494196), Normal_30 = c(13297.02158, 
8500.60518, 5069.140899, 19267.91717, 7780.128587, 8993.584733, 
16493.68202, 18095.89001, 2163.938379, 3872.419352), Normal_30.1 = 
c(13131.55032, 
7514.89843, 5392.00687, 18689.94053, 7418.376584, 7372.264729, 
12894.74179, 17888.42555, 3145.188571, 3559.457417), Normal_133 = 
c(15902.03785, 
9071.49091, 2194.626729, 13260.94608, 5571.456125, 13558.9189, 
24557.70389, 14873.38379, 5388.67985, 1993.675897), Normal_133.1 = 
c(14670.27339, 
9728.760275, 2885.095244, 12833.73823, 5989.897654, 11462.32301, 
22748.38048, 15255.67871, 4363.923499, 1955.846897), Tumor_80_167 = 
c(11439.36157, 
6228.122019, 2692.045314, 20691.32938, 9891.626221, 8729.717239, 
15545.38006, 19142.44432, 2204.506388, 4003.571549), Tumor_80_167.1 = 
c(10825.26696, 
5427.656524, 1263.104694, 19959.42376, 9652.942183, 8939.622442, 
16169.75522, 19342.73556, 2011.907997, 4656.370956), Tumor_50_192 = 
c(10913.85735, 
6324.805237, 2507.744772, 18199.45954, 8972.689135, 6472.622133, 
15066.10139, 16956.34253, 2008.115437, 7163.356898), Tumor_50_192.1 = 
c(12767.91983, 
5963.186631, 2478.20368, 18487.16846, 9013.104829, 5651.851795, 
13018.48653, 15154.98893, 1585.007661, 5885.536464), Tumor_65_198 = 
c(9594.249395, 
4856.045923, 1135.982305, 25645.99738, 14005.89222, 1653.380607, 
7129.672901, 17964.53461, 1428.551544, 5444.654951), Tumor_65_198.1 = 
c(7551.650445, 
4523.688987, 999.1185369, 23825.1397, 12264.90773, 915.536689, 
4511.027484, 16627.71506, 1663.709113, 5311.319382)), .Names = c(TargetID, 
Tumor_50_5, Tumor_50_5.1, Normal_44, Normal_44.1, Tumor_70_147, 
Tumor_70_147.1, Tumor_70_174, Tumor_70_174.1, Normal_201, 
Normal_201.1, Tumor_60_21, Tumor_60_21.1, Normal_46, 
Normal_46.1, Normal_148, Normal_148.1, Tumor_40_177, 
Tumor_40_177.1, Normal_196, Normal_196.1, Tumor_90_202, 
Tumor_90_202.1, Normal_22, Normal_22.1, Normal_121, Normal_121.1, 
Normal_155, Normal_155.1, Tumor_70_189, Tumor_70_189.1, 
Tumor_95_197, Tumor_95_197.1, Tumor_80_204, Tumor_80_204.1, 
Normal_30, Normal_30.1, Normal_133, Normal_133.1, Tumor_80_167, 
Tumor_80_167.1, Tumor_50_192, Tumor_50_192.1, Tumor_65_198, 
Tumor_65_198.1), class = data.frame, row.names = c(1, 2, 
3, 4, 5, 6, 7, 8, 9, 10))
pc-princomp(t(unique.data))
biplot(pc,xlabs=rep(,nrows(t(unique.data



From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Sent: Sun 9/3/2006 2:40 AM
To: Rick Bischoff
Cc: Nair, Murlidharan T; r-help@stat.math.ethz.ch
Subject: Re: [R] princomp/biplot



On Sat, 2 Sep 2006, Rick Bischoff wrote:

 Infinite values?

Or NA or NaN values

 On Sep 2, 2006, at 3:48 PM, Nair, Murlidharan T wrote:

  I am getting the following error when I an trying to use princomp
  princomp(unique.data)
  Error in cov.wt(z) : 'x' must contain finite values only
 
  What do I look for?

--
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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, minimal, self-contained, reproducible code.


Re: [R] princomp/biplot

2006-09-03 Thread Nair, Murlidharan T
I figured it out. I had to specify the first column as my row names. Please 
ignore my previous mail



From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Sent: Sun 9/3/2006 2:40 AM
To: Rick Bischoff
Cc: Nair, Murlidharan T; r-help@stat.math.ethz.ch
Subject: Re: [R] princomp/biplot



On Sat, 2 Sep 2006, Rick Bischoff wrote:

 Infinite values?

Or NA or NaN values

 On Sep 2, 2006, at 3:48 PM, Nair, Murlidharan T wrote:

  I am getting the following error when I an trying to use princomp
  princomp(unique.data)
  Error in cov.wt(z) : 'x' must contain finite values only
 
  What do I look for?

--
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
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, minimal, self-contained, reproducible code.


[R] princomp/biplot

2006-09-02 Thread Nair, Murlidharan T
I am getting the following error when I an trying to use princomp
princomp(unique.data)
Error in cov.wt(z) : 'x' must contain finite values only
 
What do I look for?

__
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, minimal, self-contained, reproducible code.


Re: [R] princomp/biplot

2006-09-02 Thread Rick Bischoff
Infinite values?

On Sep 2, 2006, at 3:48 PM, Nair, Murlidharan T wrote:

 I am getting the following error when I an trying to use princomp
 princomp(unique.data)
 Error in cov.wt(z) : 'x' must contain finite values only

 What do I look for?

 __
 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, minimal, self-contained, reproducible code.

__
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, minimal, self-contained, reproducible code.