Displaying 14 results from an estimated 14 matches for "intv".
Did you mean:
int
2008 Jun 22
1
two newbie questions
...here's a fabricated data frame that is similar in form to mine:
my.df <- data.frame(replicate(10, round(rnorm(100, mean=3.5, sd=1))))
var.list <- c("dv1", "dv2", "dv3", "iv1", "iv2", "iv3", "iv4", "iv5",
"intv1", "intv2")
names(my.df) <- var.list
# I have some are DVs:
dvs <- c("dv1", "dv2", "dv3")
# some IVs:
ivs <- c("iv1", "iv2", "iv3", "iv4", "iv5")
# and some binary interaction variables:
intvs...
2019 Mar 29
0
[PATCH v2 1/3] common/mlpcre: add offset flag for PCRE.matches
...b : int -> string
diff --git a/common/mlpcre/pcre-c.c b/common/mlpcre/pcre-c.c
index 0762a8341..be054a004 100644
--- a/common/mlpcre/pcre-c.c
+++ b/common/mlpcre/pcre-c.c
@@ -121,6 +121,15 @@ is_Some_true (value v)
Bool_val (Field (v, 0)) /* Some true */;
}
+static int
+Optint_val (value intv, int defval)
+{
+ if (intv == Val_int (0)) /* None */
+ return defval;
+ else /* Some int */
+ return Int_val (Field (intv, 0));
+}
+
value
guestfs_int_pcre_compile (value anchoredv, value caselessv, value dotallv,
value extendedv,...
2019 Feb 25
0
[PATCH 1/3] common/mlpcre: add offset flag for PCRE.matches
...b : int -> string
diff --git a/common/mlpcre/pcre-c.c b/common/mlpcre/pcre-c.c
index 0762a8341..be054a004 100644
--- a/common/mlpcre/pcre-c.c
+++ b/common/mlpcre/pcre-c.c
@@ -121,6 +121,15 @@ is_Some_true (value v)
Bool_val (Field (v, 0)) /* Some true */;
}
+static int
+Optint_val (value intv, int defval)
+{
+ if (intv == Val_int (0)) /* None */
+ return defval;
+ else /* Some int */
+ return Int_val (Field (intv, 0));
+}
+
value
guestfs_int_pcre_compile (value anchoredv, value caselessv, value dotallv,
value extendedv,...
2011 Oct 02
0
Arimax First-Order Transfer Function
...an's Time Series Library:
http://robjhyndman.com/tsdldata/data/schizo.dat). It has 120 time points
with an intervention occurring on the 60th unit. So far I've been able to
run a simple zero-order intervention model , which I've done like this:
Model1 <-arimax(x,order=c(0,1,1), xreg=Intv)
** where Intv <-as.matrix(c(rep(0,60),rep(1,60))) (the dummy, intervention
variable).
I'd like to add a first-order transfer function in order to test for
gradual, permanent effects. I understand this can be done by adding the
"xtransf" and "transfer" arguments, howeve...
2011 May 27
1
lattice - change background strip color in one panel
...ng the par.settings, but I do not get it to work for only 1 strip.
Below is the current code I am using.
The resulting plot is here:
http://dl.dropbox.com/u/9788680/01_DoseIntensity_MonitoringInterval_BW.pdf
(i.e. I'd like to color the "3 months" strip in red)
xyplot(value~ant|paste(intv, "Months"), groups=perc, data=di,
type="b", layout=c(4,1),xlab="Prior anthracyclines",
lty=c(1,2),lwd=2,col="black",main="Dose intensity ~ Monitorings Interval",
ylab="Dose intensity",
scales=list(x=list(at=c(0,0.5,1)),y=list...
2011 Nov 17
1
how to read a free text file into individual variables
...this kind of variables into my config R file?
thank you
################################################
##########config file ###########################
method=1; # amount of methods
method1;method2;method3; #name of the method
time=6 #time intv
byear=1990 #strar year
eyear=2010 #end year
title = "pictitle" #title
xlab = "xlabinfo" #xlab
xxlimmin = 0 #x
xxlimmax = 100 #x
ylab = "ylabinfo"...
2012 Apr 03
2
Histogram from a table in R
Hi all,
I am new in R. I am trying to make an histogram but I can't figure it out.
I have .cvs table with a lot of data that look like this: I already have the
frequency of each interval (Counts).
Interval Counts
00:19 0
10:19 3117
20:29 4500
30:39 2330.......
I want to make the histogram with that. At the y axis I want to have the
Counts and at x axis I
2019 Mar 29
5
[PATCH v2 0/3] v2v: add -o json output mode
This series adds a new output mode for virt-v2v, called -o json.
It produces local files, just like -o local, although the metadata
produced is a JSON file with data that v2v collected in the conversion
process. This can be useful for converting to unsupported destinations,
still based on QEMU/KVM.
In addition to a simple different metadata, it offers a way to relocate
the disks, with
2006 Jun 01
0
Problem with some ogg players when using apache 2.0 as a proxy in front of icecast
...end to client everything received from icecast.
> Now using a php based script the stream sounds fine but no title
> updates, it just shows
> up as a php script, same goes for the apache proxy method.
>
>
What do you mean by no title update?
> I'm going to guess the meta intv headers are whats giving use the grief,
> and without doing some sort of
> mod proxy patch we may be out of luck.
> Maybe someone can develop a mod_stream proxy that does send these
> headers for the apache servers
> i dunno, i don't have the time to dig into something like that...
2020 Oct 03
2
Another tail call optimization question
Hello,
Could anyone kindly explain to me why the 'g()' in the following function
cannot have tail call optimization?
> void f(int* x);
> void g();
> void h(int v) {
> f(&v);
> g();
> }
>
A while ago I was taught that tail call optimization cannot apply if local
variables needs to be kept alive, but 'g()' doesn't seem to require
anything to be
2002 Jul 08
2
Methods/package for working with sets and intervals
Before reinventing the wheel, is there a package for working on (nice)
sets and intervals, where one can for instance check if a set of intervals
contains a scalar, taking the union and intersection of some intervals
etc?
Example:
# Defining the set i = [1,2) + [3.5, 10]
i <- c(1,2, 3.5, 10)
attr(i, "include") <- c(TRUE, FALSE, TRUE, TRUE)
x <- 0:12
# Get
2019 Feb 25
7
[PATCH 0/3] RFC: v2v: add -o json output mode
This series adds a new output mode for virt-v2v, called -o json.
It produces local files, just like -o local, although the metadata
produced is a JSON file with data that v2v collected in the conversion
process. This can be useful for converting to unsupported destinations,
still based on QEMU/KVM.
In addition to a simple different metadata, it offers a way to relocate
the disks, with
2006 May 16
18
Ruby''s purpose?
Before I get flamed, I just want to start off by saying that I am new to
Ruby and I really enjoy this language and want to see it succeed.
But, what niche does this language fill?
These are serious question, not a put down of the language.
Does it has something to offer for Web 2.0?
Is it just another scripting language?
Does it suppose to replace something else?
Does it suppose to work with
2004 Feb 17
10
How to write efficient R code
I have been lurking in this list a while and searching in the archives to
find out how one learns to write fast R code. One solution seems to be to
write part of the code not in R but in C. However after finding a benchmark
article (http://www.sciviews.org/other/benchmark.htm) I have been more
interested in making the R code itself more efficient. I would like to find
more info about this. I have