Displaying 8 results from an estimated 8 matches for "funy".
Did you mean:
  func
  
2002 May 23
2
crosstabulation of means
Hello, I am trying to print a crosttabulation of mean,sd,n for a
continuous variable crossclassified by anoother/s grouping variables. I
came up with:
xtab2 <- function(x,g1,g2) {
 funy <- function(z)
   list(mean(z,na.rm=T),sd(z,na.rm=T),length(z))
 aa <- by(x,list(g1,g2),funy)
 bb <- matrix(unlist(aa),nrow=3
   ,dimnames=list(c("mean","sd","n"),
                rep(levels(as.factor(g2)),
                rep(length(levels(as.factor(g1))),...
2008 Feb 21
3
applying a function to data frame columns
useR's,
I want to apply this function to the columns of a data frame:
u[u >= range(v)[1] & u <= range(v)[2]]
where u is the n column data frame under consideration and v is a data frame
of values with the same number of columns as u.  For example,
v1 <- c(1,2,3)
v2 <- c(3,4,5)
v3 <- c(2,3,4)
v <- as.data.frame(cbind(v1,v2,v3))
uk1 <- seq(min(v1) - .5, max(v1) + .5,
2002 Sep 25
10
Reading complicated data file
Hi, I am new in R and I have problem with reading this data file
0 TITLE Title
 0 XLEGEND Legend
-1 LABEL x
1 1 12
1 2 30
1 3 34
I want to read only lines starting with 1 (it indicates 1st plotting line) 
and create data set from second and third value on this row.
Thank for advice
Jakub Zlamal
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list
2005 Jun 19
2
what does this syntax mean?
i study the code of function ave,but i can understand one line of the syntax.
> ave
function (x, ..., FUN = mean)
{
    n <- length(list(...))
    if (n) {
        g <- interaction(...)
        split(x, g) <- lapply(split(x, g), FUN)
    }
    else x[] <- FUN(x)
    x
}
my question is : what does "split(x, g) <- lapply(split(x, g), FUN)" mean?
thank you!
-- 
2006 Feb 08
2
When is update 3 coming out?
Hey dudes,
Nice work by the CentOS team in giving us arguably the best distro in
the world. When is update 3 coming out? What changes are expected in
it?
The reason i ask is that i applied the openoffice.org 2.0.1-1 rpms
and now WINE is not playing so nicely. It may be a good time to
re-wipe the system and reinstall update 3 from fresh ISO's. some of
these "goodies" from upstream
2005 May 23
4
Broadvoice delivers CID even when restricted?
I can call my Broadvoice DID from a outbound caller-id blocked phone, 
and BV happily delivers the CID to Asterisk (and then on to my IP phone 
display.)  I've tested with the *67 prefix from a PSTN phone to make 
sure it was supposed to be blocked.  The number is always correct, but 
sometimes the the caller ID name is set to something funky (like a CO or 
switch center name.)
I *think* this
2014 Jun 03
8
[PATCH v2 0/4] Constant folding of new Instructions
And another try for constant folding of Instructions for nvc0.
Please Review this!
Thanks,
Tobias Klausmann
Tobias Klausmann (4):
  nvc0/ir: clear subop when folding constant expressions
  nvc0/ir: Handle reverse subop for OP_EXTBF when folding constant
    expressions
  nvc0/ir: Handle OP_BFIND when folding constant expressions
  nvc0/ir: Handle OP_POPCNT when folding constant expressions
2003 Jun 17
11
New Module app_perl
...otoif(4,"1|4","1|5");
    
and gotoif() looks like: 
 
 
sub gotoif(@) {
  my($expr,$goto1,$goto2) = @_;
  my $test;
  eval "\$test = ($expr)";
  my $ret = "goto:" . (($test) ? $goto1 : $goto2);
  print "test: [$expr] = [$test] [$ret]\n";
  $ret;
}
Funy thing is I was too obcessed with what I had already seen so far in asterisk that 
I didnt even notice AGI until yesterday =)
 
here is my beta README 
 
 
 
app_perl 1.0
 
This is app_perl the "mod_perl" of sorts for asterisk.  It is an actual live Perl Interpreter
embeded in a module so...