search for: datamean

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

2012 Sep 03
2
boxplot - bclust
...f boxplot -bclust. http://127.0.0.1:13155/library/e1071/html/boxplot.bclust.html > data(iris) > bc1 <- bclust(iris[,1:4], 3, base.centers=5) Committee Member: 1(1) 2(1) 3(1) 4(1) 5(1) 6(1) 7(1) 8(1) 9(1) 10(1) Computing Hierarchical Clustering > boxplot(bc1) Warnmeldungen: 1: In if (x$datamean) { : Bedingung hat Länge > 1 und nur das erste Element wird benutzt (Condition has length > 1 and only the first element is used) # It's normal? Why? 2: In if (x$datamean) { : Bedingung hat Länge > 1 und nur das erste Element wird benutzt 3: In if (x$datamean) { : Bedingung hat L...
2004 Sep 28
1
call R scripts from python
...****** #!/usr/local/bin/perl open (FILE, ">test.txt"); print FILE "a,b,c,d,e\n1,2,3,4,5"; close FILE; ####### Start R code #### open (R_FH, "|/usr/local/bin/R --no-save --slave") or die "$!"; print R_FH qq{ data<-read.csv("test.txt") datamean<-mean(as.numeric(as.character(data[1,])), na.rm=TRUE) write(datamean, file="out.txt") quit(save='no',status=0) }; close R_FH; ##### end R #### open(FILE, "<out.txt"); while (<FILE>){ $mean= $_; } close FILE; **************************************...
2004 Jan 15
4
invoking R scripts from a linux shell ?
Hello, I have written perl programs that extract data from a text file, process them, and create other text files, which I'd like to apply some statistics too (for example with R). I'd like to do it all in once , with a single script. I'm not familiar with R, I'd like to know if this task could be accomplished by creating a linux shells that launches the perl scripts and then