Displaying 20 results from an estimated 21 matches for "tpos".
Did you mean:
pos
2005 Oct 05
3
multiple line plots
...5:23:44:710,M3_03,4498,1124
...
Each pos (eg M1_01) is an independent time series. I would like to plot
each time series as lines on a single plot and I wondered if there was
something more straight forward than I was attempting.
I got as far as:
fname = 't100.csv'
t = read.csv(fname)
tpos = split(t, t$pos)
plot(tpos[["M1_01"]]$t, type='l')
for (p in names(tpos)) {
lines(tpos[[p]]$t)
}
which seems to work but then I got stuck on how to make each line a
different colour and figured that there might a be a one liner R command
to do what I want.
Any tips would...
2012 Jul 24
1
Annotate forest plot 'forest.rma()' for meta-analysis with metafor package
...package creates nice forest
plots for presenting the results of a meta-analysis. These plots can be
annotated for e.g. giving names to the columns. E.g. as in the
documentation of the package:
data(dat.bcg)
### meta-analysis of the log relative risks using a random-effects model
res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg, measure="RR",
slab=paste(author, year, sep=", "), method="REML")
forest(res, slab=paste(dat.bcg$author, dat.bcg$year, sep=", "),
xlim=c(-16, 6), at=log(c(.05, .25, 1, 4)), atransf=exp,...
2007 Apr 18
0
[Bridge] [PATCH] (4/4) bridge forwarding table RCU
...en Hemminger <shemminger@osdl.org>
diff -Nru a/include/linux/list.h b/include/linux/list.h
--- a/include/linux/list.h 2004-07-28 15:30:04 -07:00
+++ b/include/linux/list.h 2004-07-28 15:30:04 -07:00
@@ -678,6 +678,24 @@
pos && ({ n = pos->next; 1; }) && \
({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
pos = n)
+
+/**
+ * hlist_for_each_entry_rcu - iterate over rcu list of given type
+ * @pos: the type * to use as a loop counter.
+ * @pos: the &struct hlist_node to use as a loop counter.
+ * @head: the head for your list.
+ * @member:...
2011 Apr 11
1
forest + igraph ?
Hello,
Is it possible to have two meta-plots in one graph (not par(mfrow=c(2,1))? But somthing like
library(metafor)
library("igraph")
if (interactive()) {
forest(dat.Treat$RR, ci.lb=dat.Treat$lower, ci.ub=dat.Treat$upper, xlab="Relative Risk",slab=dat.Treat$ID,refline=1)
forest(dat.Control$RR, ci.lb=dat.Control$lower, ci.ub=dat.Control$upper, xlab="Relative
2008 Sep 16
1
Some Questions From the beginner of Xapian
..._value (Xapian::valueno valueno, const std::string &value)
What's the purpose of this method? Document will related to the terms, but what's the purpose of this?
(2) add_posting method will add term to a documents.
void add_posting (const std::string &tname, Xapian::termpos tpos, Xapian::termcount wdfinc=1)
I noticed that
Xapian::TermGenerator has follow method
void index_text (const Xapian::Utf8Iterator &itor, Xapian::termcount weight=1, const std::string &prefix="")
What's the differences and relationship between these two functions?
Tha...
2018 May 10
2
readLines() behaves differently for gzfile connection
...readLines() in 3.4.3, it returns text (and a
warning). In 3.5.0, it gives a warning, but no text. Is this expected
behavior or a bug?
3.4.3:
> source_file = "1k_annotation.gz"
> readfile_con <- gzfile(source_file, "r")
> readLines(readfile_con, n = 5)
[1] "#chr\tpos\tref\talt\t
<truncated output here>
Warning message:
In readLines(readfile_con, n = 5) :
seek on a gzfile connection returned an internal error
> close(readfile_con)
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sier...
2010 Mar 02
1
add a header to a forest plot (metafor)
Dear R-community,
I'm currently trying to assemble a forest plot using the "forest" function
from package "metaphor".
Works well. Even the regular "main"-argument works for adding a title to the
graph.
However, I would like to add one top row which explains the nature of the
columns. Very much like the usual header in spreadsheet programs.
For example:
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
...* pwdstr Present Working Directory string
*/
-void rosh_dir(const char *cmdstr, const char *pwdstr)
+void rosh_ls(const char *cmdstr, const char *pwdstr)
{
char filestr[ROSH_PATH_SZ + 1];
- int cmdpos; /* Position within cmdstr */
+ char optstr[ROSH_OPT_SZ]; /* Options string */
+ int cmdpos, tpos; /* Position within cmdstr, temp position */
+ int numargs; /* number of non-option arguments */
+ int argpos; /* number of non-option arguments processed */
+ int optarr[2];
ROSH_DEBUG("CMD: '%s'\npwd: '%s'\n", cmdstr, pwdstr);
/* Initialization */
filestr[0] = 0;...
2018 May 10
1
readLines() behaves differently for gzfile connection
...t gives a warning, but no text. Is this expected
> > behavior or a bug?
> >
> > 3.4.3:
> >> source_file = "1k_annotation.gz"
> >> readfile_con <- gzfile(source_file, "r")
> >> readLines(readfile_con, n = 5)
> > [1] "#chr\tpos\tref\talt\t
> >
> > <truncated output here>
> >
> > Warning message:
> > In readLines(readfile_con, n = 5) :
> > seek on a gzfile connection returned an internal error
> >
> >> close(readfile_con)
> >
> >> sessionInfo()
>...
2011 Dec 10
3
Overlaying density plot on forest plot
Dear R User,
Please, I am new to R. I want to overlay density plot for predictive interval pooled result in meta-analysis. http://addictedtor.free.fr/graphiques/graphcode.php?graph=114
Regards
Frank Peter
2002 Jul 19
1
read.table bug (PR#1809)
...: 1.5.1
OS: Win2000
Submission from: (NULL) (203.25.148.63)
When using read.table to read a data file section by section, I get an error
that indicates R is attempting to read more "fields" than exist.
The Data file looks like this:
---Start of file tmp.txt-----------
Response Types = TPos TNeg FPos FNeg Anti Post MaxO
Test ID,Username,Start Date,Mean,Std
Dev,Accuracy,SRT1_1,SRT1_1_TYPE,SRT1_2,SRT1_2_TYPE,SRT1_3,SRT1_3_TYPE,SRT1_4,SRT1_4_TYPE,SRT1_5,SRT1_5_TYPE,SRT1_6,SRT1_6_TYPE,SRT1_7,SRT1_7_TYPE,SRT1_8,SRT1_8_TYPE,SRT1_9,SRT1_9_TYPE,SRT1_10,SRT1_10_TYPE,SRT1_11,SRT1_11_TYPE,SRT1...
2010 Jun 27
1
[PATCH] ROSH: Upgraded
...irectory string
*/
-void rosh_dir(const char *cmdstr, const char *pwdstr)
+void rosh_ls(const char *cmdstr)
{
- char filestr[ROSH_PATH_SZ + 1];
- int cmdpos; /* Position within cmdstr */
+ char filestr[ROSH_PATH_SZ];
+ char optstr[ROSH_OPT_SZ]; /* Options string */
+ int cmdpos, tpos; /* Position within cmdstr, temp position */
+ int numargs; /* number of non-option arguments */
+ int argpos; /* number of non-option arguments processed */
+ int optarr[3];
- ROSH_DEBUG("CMD: '%s'\npwd: '%s'\n", cmdstr, pwdstr);
+ ROSH_DEBUG("CMD...
2018 May 10
0
readLines() behaves differently for gzfile connection
...t (and a
> warning). In 3.5.0, it gives a warning, but no text. Is this expected
> behavior or a bug?
>
> 3.4.3:
>> source_file = "1k_annotation.gz"
>> readfile_con <- gzfile(source_file, "r")
>> readLines(readfile_con, n = 5)
> [1] "#chr\tpos\tref\talt\t
>
> <truncated output here>
>
> Warning message:
> In readLines(readfile_con, n = 5) :
> seek on a gzfile connection returned an internal error
>
>> close(readfile_con)
>
>> sessionInfo()
> R version 3.4.3 (2017-11-30)
> Platform: x86_64...
2011 Jul 18
1
Extract confidence intervals from rma object (metafor package)
Dear R-experts!
I am working on some meta-analysis using the metafor package. I would like
to extract values of the confidence intervals of the effect sizes of the
single studies from an rma object. Those values are printed out when
plotting a forest plot using the forest function on the rma object, however
I was not able to locate them.
Many thanks for your help!
Jokel
[[alternative HTML
2011 Jul 20
1
Phrase search problem
Hi,
I'm experiencing problems when doing phrase searches with adjacent
repeated terms. Example:
if I search for 'curtain curtain' and there are documents that matches
the query, they aren't returned. But, if I search for 'curtain nice
curtain' and there are documents that matches this query, it works ok.
attached there is a python program that shows the problem. I tried
2011 Jan 12
1
metafor/ meta-regression
Hi I have tryed to do the meta-regression in metafor package, but I
would like to get the standardized coefficients for each variable, however in
command:
Ø res<-rma.uni (yi, vi,
method="REML", mods=~cota+DL+uso+gadiente+idade, data= turbidez)
I just have the coefficients no standardized (estimate) of the multiple
regression.
What I need to do?
Thanks
Fernanda Melo
2013 Mar 14
3
Create patterns within a plot?
Dear All,
As an attempt to highlight the overall pattern in a Forest plot, I would like to "highlight" the area around HR=1. I cannot find any simple tools for painting a grey ribbon between 0.9 and 1.1. Any suggestions?
Thank you in advance!
Cheers, Patrik
[[alternative HTML version deleted]]
2011 Aug 05
1
Main-effect of categorical variables in meta-analysis (metafor)
Dear R-experts!
In a meta-analysis (metafor) I would like to assess the effect of two
categorical covariates (A & B) whereas they both have 4 levels.
Is my understanding correct that this would require to dummy-code (0,1) each
level of each covariate (A & B)?
However I am interested in the main-effects and the interaction of these two
covariates and the dummy-coding would only allow to
2012 Aug 02
2
metafor- interpretation of moderators test for raw proportions
Hello metafor users,
I'm using metafor to perform a single-effect summary estimate of the raw
proportion of patients experiencing a post-operative complication, and I'm
interested in seeing if this proportion differs between the three most
commonly used surgical techniques. The software is working as expected, but
I would like to double check on the interpretation of my mixed-effect model
2013 Jan 05
3
package metafor: error when setting 'col' and 'at' for a forest plot
I am using metafor to create forest plots. This code gives me the expected
plot (setting x axis tick marks):
forest(forest$OR, ci.lb=forest$Low, ci.ub=forest$High, at=log(c(.05, .25,
1, 10)), slab=forest$SNP, atransf=exp)
As does this (setting colors):
forest(forest$OR, ci.lb=forest$Low, ci.ub=forest$High, col=c(1,2,3),
slab=forest$SNP, atransf=exp)
But if I try to set both 'at' and