Hi, 

 

1.) The "median" function does not work well.  Please refer to the data
below (same data is attached as txt-delimited).  This is what I try to
do in R:

 

median ( dataf [2:9] )  

 

I get warning:  "needs numeric data"

 

2.) BUT if apply the median to a single vector: 

 

median ( dataf [,2]] )

 

then it works:

 

 

3.) How come the "median" function does not let me take the median of
all 8 vectors at once?  Obviously, if I can perform the test on a single
array, then it means I have numeric data because I do not get warning.
Also, if I look at the "mode" for each array I get "numeric".

 

 

Probe 1

256

589

308

698

745

850

750

1200

Probe 2

225

422

350

625

400

650

852

1400

Probe 3

295

530

325

585

350

700

752

1100

Probe 4

300

450

425

430

700

645

735

1250

 

 

Thanks in advance,

 

 

Alexi Zubiria

Technical Support Specialist

Silicon Genetics

2601 Spring Street

Redwood City CA, 94063

Main: 650-367-9600

Support: 866-744-7638

[EMAIL PROTECTED]

 


        [[alternative HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to