search for: intvs

Displaying 14 results from an estimated 14 matches for "intvs".

Did you mean: ints
2008 Jun 22
1
two newbie questions
...;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 <- c("intv1", "intv2") library(car) my.df[intvs] <- lapply(my.df[intvs], function(x) recode(x, recodes = "lo:3.5=0; 3.5:hi=1; ",as.factor.result = FALSE)) # now I loop through a series of interactions using the vector numbers: for(dv in 1:3) { for(iv in 4:8) {...
2019 Mar 29
0
[PATCH v2 1/3] common/mlpcre: add offset flag for PCRE.matches
This way it is possible to change where the matching start, instead of always assuming it is the beginning. --- common/mlpcre/PCRE.ml | 2 +- common/mlpcre/PCRE.mli | 5 ++++- common/mlpcre/pcre-c.c | 16 +++++++++++++--- common/mlpcre/pcre_tests.ml | 11 ++++++++--- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/common/mlpcre/PCRE.ml b/common/mlpcre/PCRE.ml
2019 Feb 25
0
[PATCH 1/3] common/mlpcre: add offset flag for PCRE.matches
This way it is possible to change where the matching start, instead of always assuming it is the beginning. --- common/mlpcre/PCRE.ml | 2 +- common/mlpcre/PCRE.mli | 5 ++++- common/mlpcre/pcre-c.c | 16 +++++++++++++--- common/mlpcre/pcre_tests.ml | 15 ++++++++++++--- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/common/mlpcre/PCRE.ml b/common/mlpcre/PCRE.ml
2011 Oct 02
0
Arimax First-Order Transfer Function
Dear list members, I am a (very) recent convert to R and I am hoping you can help me with a problem I'm having. I'm trying to fit a first-order transfer function to an ARIMA intervention analysis using the "arimax" function. The data was obtained from McCleary & Hay (1980) (via Rob Hyndman's Time Series Library: http://robjhyndman.com/tsdldata/data/schizo.dat). It has
2011 May 27
1
lattice - change background strip color in one panel
Hello, I would like to change the background color in only -one- of the strips in a multipanel lattice xyplot, from the default yellow-brown color. Until now, I only managed to change the background strip color in all of the strips using 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:
2011 Nov 17
1
how to read a free text file into individual variables
hi ,I am writing a soft package based on R. But when I try to read a configure file showed as below. How can I read the parameter in this text file. How can I read the parameter into each variable in this file ? configinfo<-scan(file(configfile),ok=TRUE,n=-1) scan seems need every line have same column ? configinfo <- readLines(configfile,ok=TRUE,n=-1) methodnum <-
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
dstjohn a ?crit : > I specifically rremember some clients requiring a icy-meta-interval: 8024 > response header for http streams, i know winamp for a fact does this, > since you are using an apache server as a proxy > it doesn't send any meta interval headers where as icecast2 and > shoutcast both send that header. > I haven't the opportunity to test this yet. What I
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