Displaying 7 results from an estimated 7 matches for "awork".
Did you mean:
work
2018 Apr 16
5
how to write a loop to repetitive jobs
Hi All..,
I need to do the following repetitive jobs:
seg71 <- read.csv("C:/Awork/geneAssociation/removed8samples/neuhausen71/seg.pr3.csv", head=T)
seg71$id <-"sn71"
seg72 <- read.csv("C:/Awork/geneAssociation/removed8samples/neuhausen72/seg.pr3.csv", head=T)
seg72$id <-"sn72"
seg73 <- read.csv("C:/Awork/geneAssociation/remov...
2018 Apr 16
0
how to write a loop to repetitive jobs
Hello,
The following might do it. Without data it's untested.
wd <- function(i){
paste0("C:/Awork/geneAssociation/removed8samples/neuhausen7", i,
"/seg.pr3.csv")
}
seg <- lapply(1:5, function(i) {
DF <-read.csv(wd(i))
DF$id <- paste0("sn7", i)
DF
})
seg <- do.call(rbind, seg)
row.names(seg) <- NULL
Hope this helps,
Rui Barradas
On 4/...
2018 Apr 17
0
how to write a loop to repetitive jobs
Hello Ding,
try this:
seg <- list()
for ( d in 71:75) {
s <- paste0("seg",d)
sn <- paste0("sn",d)
Dir<-paste("C:/Awork/geneAssociation/removed8samples/neuhausen", i, sep="")
setwd(Dir)
seg[[s]] <- read.csv("seg.pr3.csv", head=T)
seg[[s]]$id <- sn
}
Greetings,
Albrecht
--
Albrecht Kauffmann
alkauffm at fastmail.fm
Am Mo, 16. Apr 2018, um 22:54, schrieb Ding, Yuan Chun:
&g...
2008 Oct 01
2
an unsophisticated question about recoding in a data frame with control structure if {}
...he first element will be used
As the command in question actually appears:
if (nes2004$Rrace2=='3') {
nes2004$Hethno<-(((nes2004$Hint-nes2004$Wint)+(nes2004$Hint-nes2004$Bint)+(nes2004$Hint-nes2004$Aint)+(nes2004$Hwork-nes2004$Wwork)+(nes2004$Hwork-nes2004$Bwork)+(nes2004$Hwork-nes2004$Awork)+(nes2004$Htrus-nes2004$Wtrus)+(nes2004$Htrus-nes2004$Btrus)+(nes2004$Htrus-nes2004$Atrus))/9) }
The other problem here too, is that each of these variables contain varying counts of NA observations.
I've tried to work around this by using ifelse, and other commands, but I can not figure ou...
2004 Aug 06
0
I am new - how to set client
...o learn.
I have never done anything with streaming, but we must start somewhere.
I do work with the web as a programmer.
As I mentioned before, I do have winamp 5 and I have the server running
I still do not know how to tie up winamp on my client machine to the
server machine.
Does some one have aworking copy of a icecast.xml. I am using the default
because so far
I am only using in my internal network.
I have read the config instructions 3 tiems and I am missing something,
perhaps to obvious
hopefully, I will get over that hurdle soon.
ServerSide - I have icecast Beta version 3
SourceSide -...
2004 Aug 06
0
I am new - how to set client
...ing with streaming, but we must start somewhere.
>I do work with the web as a programmer.
>
>As I mentioned before, I do have winamp 5 and I have the server running
>
>I still do not know how to tie up winamp on my client machine to the
>server machine.
>
>Does some one have aworking copy of a icecast.xml. I am using the default
>because so far
>I am only using in my internal network.
>
>I have read the config instructions 3 tiems and I am missing something,
>perhaps to obvious
>hopefully, I will get over that hurdle soon.
>
>ServerSide - I have icec...
2006 Jul 05
10
Google/Netflix Like Tooltips
I need to have a toolip-like object which has dynamic content in it. I
plan on using scriptaculous with an ajax call to retrieve the content,
but I would like to make the popup/tooltip/balloon text look as nice as
possible. Does anyone have any examples or anything useful to create a
popup like the ones that Google and Netflix have? I''d like to have one
which must be