Hi Steve,
as far as i understood, you're trying to do this:
direction_func <- function(combdframe) {
ifelse(mean(combdframe==0), -9,
sum((sign(mean(combdframe))*combdframe)>0))
}
direction<-apply(combdframe, 1, direction_func)
direction
cheers,
thomas
--
objects and to compare these lists at each time step.
what else could be done?
cheers,
Thomas
Thomas Liebig schrieb:
Hello R users,
i'm wondering how to trigger variable creation.
Whenever a variable is created i want my own function myFun(...) to be
started.
if (exists("x")
call myFun
etc.
Has anyone an idea? Unfortunately, this feature is also missing in the
library trackObjs.
regards,
Thomas
--
Thomas Liebig
Fraunhofer-Institut für Intelligente Analyse- und
Informationssysteme (IAIS)
Schloss Birlinghoven, D-53754 Sankt Augustin, Germany
Email: thomas.lie...@iai
,col.names=F,sep="\t", quotes=FALSE)
regards,
Thomas Liebig
Ravi S. Shankar schrieb:
Hi R,
When I use the below to write the text file
try=data.frame(rep("a",5), rep("b",5))
write.table(try,"z:\\try.txt",row.names=F,col.names=F,sep="\t")
th
have been part of a2ps' upstream releases for
a long time.
Dirk
Unfortunately, a2ps doesn't support Unicode (and afaics u2ps does not do
indentation...).
--
Thomas Liebig
Fraunhofer-Institut für Intelligente Analyse- und
Informationssysteme (IAIS)
Schloss Birlinghoven, D-5
5 matches
Mail list logo