search for: data6

Displaying 12 results from an estimated 12 matches for "data6".

Did you mean: data
2011 Dec 30
2
Applyiing mode() or class() to each column of a data.frame XXXX
...ncountering unexpected results. I have the following example data: v13<-1:6 v14<-c(1,2,3,3,NA,1) v15<-c("Good","Bad",NA,"Good","Bad","Bad") f4<-factor(rep(c("Blue","Red","Green"),2)) v16<-c(F,T,F,F,T,F) data6<-data.frame(v13,v14,v15,f4,v16) data6 Here is my function definition: contents<-function(x){ output<-data.frame(Varnum=1:ncol(x), Name=names(x), Mode=apply(x,2,mode), Class=apply(x,2,class)) print(output) } ==== When I call the function, I obtain the following: > content...
2007 May 31
1
Choosing a column for analysis in a function
...n I refer to the parameter which the user gives, inside the function? I cannot give the name of the analyte directly inside the function, as the same function should work for all the 20 analytes. I'm giving some code for clarification: >datainput <- function(data1,data2,data3,data4,data5,data6,analyte) >{ ... ##data1-data6 being the paths of the six datasets I want to combine and analyte being the special analyte I want to analyze and which can be found on each of the datasets as a columnname.## ##Then:## ... >data.whole <- subset(data.whole, select=c(Sample.Name,Analyte.Values,...
2012 Aug 08
1
dimnames in array
...is make.fhn() from colloc infer package# y = y[,2:3] data11<-array(0,c(41,2,2)) m8<-cbind(.29,1:41) m9<-as.array(m8,dim=c(41,2)) data11[,1,] = y+m9 data11[,2,] = y+m9 rownames(data2, do.NULL = FALSE, prefix="row") varnames=c("V","R") colnames(data6)=c("one","two") colnames(data10)=colnames(data6) dimnames(data11)=list(rownames(data2),varnames,colnames(data10)) data11a<-as.array(data11,dimnames=dimnames(data11)) attributes(data11a) #so this seems to print out the array attributes as they should be: two sets of two co...
2010 Dec 29
1
Counting number of datasets and appending them
...ta)] <- datanam i <- i+1 } The function "names(data)[length(data)]" doesn't seem to work. I need it to be named like data1,data2,,,,,data20..... Also to append them into a big dataset, I think there should be something simpler than all <- rbind(data1,data2,data3,data4,data5,data6,data7,data8.........data20) can you help me on this? I hope this is not some simplest R question..... I am a beginner. Thanks a ton! Grace Confidentiality Notice: This e-mail message including at...{{dropped:12}}
2007 Jun 18
1
Problem with binding data-frames
...in day 1, for those columns which can only be found in day 2. Is this somehow possible? I have several of these six-datasets groups, and only few of them are having this problem described above, and I cannot know in advance which. With most of the groups writing rbind(data1,data2,data3,data4,data5,data6) works easily, but these few problematic groups need also to be combined... Any help greatly appreciated! -Jouni
2006 Sep 13
2
recursive methods for concatenating sets of files
...ead.delim("t (2).txt", quote="", as.is=TRUE) data3 <-read.delim("t (3).txt", quote="", as.is=TRUE) data4 <-read.delim("t (4).txt", quote="", as.is=TRUE) data5 <-read.delim("t (5).txt", quote="", as.is=TRUE) data6 <-read.delim("t (6).txt", quote="", as.is=TRUE) data7 <-read.delim("t (7).txt", quote="", as.is=TRUE) data8 <-read.delim("t (8).txt", quote="", as.is=TRUE) data9 <-read.delim("t (9).txt", quote="", as.is=...
2003 Oct 20
1
v2.5.6 on AIX and large files
...the following error message: rsync: writefd_unbuffered failed to write 32768 bytes: phase "unknown": Broken pipe rsync error: error in rsync protocol data stream (code 12) at io.c(515) Typical command used was: rsync --archive --whole-file --one-file-system /sapdb/SP1/data6 sap06:/sapdb/SP2 2>> $logfile and the network interface being used was Gigabit Ethernet, the disk in both cases being hosted on an SAN system. So there's plenty of disk and LAN capacity. I've Googled for this problem, and the only references I can find for it, seem to imply either LA...
2006 Jul 20
11
3 columns
Hi all, Not really sure what to put in the title so hope people still open this! What I want to do is produce something like this Col1 Col2 Col3 data1 data2 data3 data4 data5 data6 data7 data8 data9 data.. data.. data.. data.. data.. data.. data-n data-n+1 data-n+2 I can get the data back from my db happily, but I cant for the life of me work out how to actually display it. Single column is easy, but anything else has me stump...
2000 Feb 08
1
Samba - NT Terminal Server error
...ord server = termserver socket options = TCP_NODELAY dns proxy = no #============================ Share Definitions [data1] comment = /data1 path = /data1 valid users = @gisstaff browsable = yes writable = yes create mode = 0777 directory mode = 0777 [workspace] comment = user workspaces path = /data6/work browsable = yes writable = yes create mode = 0777 directory mode = 0777
2010 Feb 09
9
VERY HIGH LOAD AVERAGE: top - 10:27:57 up 199 days, 5:18, 2 users, load average: 67.75, 62.55, 55.75
Hi Team Can someone advice me on how i can lower the load average on my asterisk server? dahdi-linux-2.1.0.4 dahdi-tools-2.1.0.2 libpri-1.4.10.1 asterisk-1.4.25.1 2 X TE412P Digium cards on ISDN PRI Im using the system as an IVR without any transcoding or bridging ************************************** top - 10:27:57 up 199 days, 5:18, 2 users, load average: 67.75, 62.55, 55.75 Tasks: 149
2003 Oct 26
0
rsync Digest, Vol 10, Issue 14
...; rsync: writefd_unbuffered failed to write 32768 bytes: phase > "unknown": Broken pipe > rsync error: error in rsync protocol data stream (code 12) at > io.c(515) > > Typical command used was: > rsync --archive --whole-file --one-file-system /sapdb/SP1/data6 > sap06:/sapdb/SP2 2>> $logfile > and the network interface being used was Gigabit Ethernet, the disk in both > cases being hosted on an SAN system. So there's plenty of disk and LAN > capacity. > > I've Googled for this problem, and the only references I can find fo...
2010 Oct 22
2
cannot create volume
hi all guys! I'm using glusterfs 3.10 now .I got 10 node to run gluster.I found a problem here: [root at gluster-bak-1 /root] #gluster volume create db-backup stripe 4 transport tcp gluster-bak-3:/data3 gluster-bak-4:/data4 gluster-bak-5:/data5 gluster-bak-6:/data6 Creation of volume db-backup has been unsuccessful the volume cannot be created! and I found the log in /var/log/glusterfs/etc-glusterfs-glusterd.vol.log.but nothing for description. all nodes are connected in "gluster peer status" is anybody get solution?