The 'xlim' argument does not change the actual width of the plotting device.
For that, you need to use the 'width' argument with whatever device you are
actually using. You can then use the 'xlim' argument to create appropriate
spacing to the left/right of the part of the plot that shows the
Tks a lot, i will study the limma package as you mentioned first ~ ~
--
PO SU
mail: desolato...@163.com
Majored in Statistics from SJTU
At 2015-08-26 00:17:18, David Winsemius dwinsem...@comcast.net wrote:
On Aug 25, 2015, at 4:15 AM, PO SU wrote:
Dear expeRts,
i want to know
Thanks again for your help. I'm sorry to bother you but I don't get
how to widen the forest plot; if I try to change the values of xlim or
the ilab.xpos values the width of the forest plot region does not
change, but only moves on the graphs. What I'm I missing?
forest(pc, var, ci95m, ci95p,
Here are a few ideas.
data.frame(
seq_along(iris),
colnames(iris)
)
which(colnames(iris) %in% c(Sepal.Width, Petal.Width))
grep(\\.Width$, colnames(iris))
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature
and Forest
team Biometrie Kwaliteitszorg /
You might also look at Str() in package DescTools. It is basically str() with
column numbers added:
library(DescTools)
Loading required package: manipulate
data(iris)
Str(iris)
'data.frame': 150 obs. of 5 variables:
1 $ Sepal.Length: num 5.1 4.9 4.7 4.6 5 5.4 4.6 5 4.4 4.9 ...
2 $
Dear Marco
When you change xlim it increases the width of the forest plot in the
sense you describe. It does not push your text out of the way to make
space for it but instead overprints it. You may like to use alim to
truncate your confidence interval whiskers to fit within the space you
I want to know the codes for computing the optimal cusum and ewma chart. I will
also like to know the R codes for plotting each of these categories. And if it
is not present in R, I will like to know another statistical package that can
help me deal with this situation.Thanks
On Aug 25, 2015, at 9:31 AM, David L Carlson wrote:
You might also look at Str() in package DescTools. It is basically str() with
column numbers added:
library(DescTools)
Loading required package: manipulate
data(iris)
Str(iris)
'data.frame': 150 obs. of 5 variables:
1 $
Further comments in line as well.
-Original Message-
From: Michael Dewey [mailto:li...@dewey.myzen.co.uk]
Sent: Tuesday, August 25, 2015 13:23
To: Marco Colagrossi; Viechtbauer Wolfgang (STAT)
Cc: r-help@r-project.org
Subject: Re: [R] Metafor and forest(); not showing 'ilab' and
On Aug 25, 2015, at 8:17 AM, Sam Albers wrote:
Hi all,
This is a process question. How do folks efficiently identify column
numbers in a dataframe without manually counting them. For example, if I
want to choose columns from the iris dataframe I know of two options. I can
do this:
Hi all,
This is a process question. How do folks efficiently identify column
numbers in a dataframe without manually counting them. For example, if I
want to choose columns from the iris dataframe I know of two options. I can
do this:
str(iris)'data.frame':150 obs. of 5 variables:
$
?grep
I think this will do what you want.
#something like
a - data.frame(a=rnorm(10), b=rnorm(10), c=rnorm(10), d=rnorm(10))
toMatch - c(a, d)
grep(paste(toMatch,collapse=|), colnames(a))
#to subset
a[,grep(paste(toMatch,collapse=|), colnames(a))]
On Tue, Aug 25, 2015 at 10:17 AM, Sam
Time Series Clustering With Dynamic Time Warping Distance (DTW)
===
The dtwclust package attempts to consolidate some of the recent techniques
related to time series clustering under DTW and implement them in R. Most
of these algorithms
On Aug 25, 2015, at 10:17 AM, Sam Albers tonightstheni...@gmail.com wrote:
Hi all,
This is a process question. How do folks efficiently identify column
numbers in a dataframe without manually counting them. For example, if I
want to choose columns from the iris dataframe I know of two
On Aug 25, 2015, at 4:15 AM, PO SU wrote:
Dear expeRts,
i want to know how to generate the 2 dimensional mesh (i.e. grid on the
torus) of size n, The grid mesh (with wrap around of boundaries into a torus
to avoid edge-effects). and the hyper-cube which is the log2(n)-dimensional
Hi!
25.08.2015, 18:17, Sam Albers wrote:
Hi all,
This is a process question. How do folks efficiently identify column
numbers in a dataframe without manually counting them. For example, if I
want to choose columns from the iris dataframe I know of two options. I can
do this:
I would think that ?expand.grid with appropriate choice of coordinates would be
the best tool for defining the mesh. As for edge effects, doesn't that depend
on the (unnamed) algorithms you intend to apply?
As for spargraphs... findFn from package sos could not find it, and I have
never heard
Thierry's answer of:
data.frame(
seq_along(iris),
colnames(iris)
)
is exactly what I was looking for. Apologies for vagueness and HTML.
It was unintended.
Sam
On Tue, Aug 25, 2015 at 8:32 AM, stephen sefick ssef...@gmail.com wrote:
?grep
I think this will do what you want.
#something
I can do this fine for one polygram BUT a for-loop fails.The concept is
multiple lines within each polygon. I am doing something sub-genius.
ONE POLYGON
plot(all_pcts_osm_sp[i,], add = FALSE, lwd=.5, border='blue')
hght - strheight(Here)
MyLines - list(
bquote(
Setup for the OSM Map is below
ul - as.vector(cbind(bbox(all_pcts_osm_sp) [2,2], bbox(all_pcts_osm_sp)
[1,1]))
lr - as.vector(cbind(bbox(all_pcts_osm_sp) [2,1], bbox(all_pcts_osm_sp)
[1,2]))
map_types - c(osm, maptoolkit-topo, waze, mapquest,
mapquest-aerial,
bing, stamen-toner,
I am wondering why for generalized linear models with Gamma, Poisson and
Negative Binomial distributions that there appears to be no discussion
about estimating the medians or the modes of the distributions. For example
in clinical trials for count data where a log link is used it is the
quantity
This is not a simple question. The data are in an html-formatted web
page. You must scrape the html for the data and read it into an R
table (or other appropriate R data structure). Searching (the web) on
scrape data from html into R listed several packages that claim to
enable you to do this
Looks like you can get what you need from
http://www.nseindia.com/homepage/Indices1.json on that page.
On Tue, Aug 25, 2015 at 2:23 PM, Bert Gunter bgunter.4...@gmail.com wrote:
This is not a simple question. The data are in an html-formatted web
page. You must scrape the html for the data and
If there's no api available, I would use selenium to grab what I need and
pipe it to R. Let me know if you need further assistance. Cheers! -- H
On Aug 25, 2015 11:12 AM, Christofer Bogaso bogaso.christo...@gmail.com
wrote:
Hi,
I would like to download data from below page directly onto R.
Hi,
I would like to download data from below page directly onto R.
http://www.nseindia.com/live_market/dynaContent/live_watch/equities_stock_watch.htm
Could you please assist me how can I do that programmatically.
Thanks for your time.
__
I agree that this is a tricky task... even more so than using ascraping
package because the page is built dynamically. This will take someone with
skills in multiple web technologies to decipher the web page scripts to figure
out how to manipulate the server to give you the data, because it
Actually, in looking again, I noticed a download in csv link on the
page, and this appears to provide a csv -formatted table that then can
trivially be read into R by, e.g. read.csv() .
So maybe all the html (or JSON) stuff can be ignored.
-- Bert
Bert Gunter
Data is not information.
Hello everyone,
I am doing nonlinear regression using a same sigmoidal model for
different treatments. for each treatment, I got a set of estimated
parameters (a1, b1, c1 for treatment 1; a2, b2, c2 for treatment 2;
a3, b3, c3 for treatment 3). And I want to compare these parameters
for different
Hello,
There might be a problem:
url -
http://www.nseindia.com/live_market/dynaContent/live_watch/equities_stock_watch.htm;
readLines(url)
Error in file(con, r) : cannot open the connection
In addition: Warning message:
In file(con, r) : cannot open: HTTP status was '403 Forbidden'
So
FWIW. This violates their terms of service, unless you have their
permission:
http://www.nseindia.com/global/content/termsofuse.htm
quote
You may not conduct any systematic or automated data collection activities
(including scraping, data mining, data extraction and data harvesting) on
or in
... but not programmatically.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Dear expeRts,
i want to know how to generate the 2 dimensional mesh (i.e. grid on the
torus) of size n, The grid mesh (with wrap around of boundaries into a torus to
avoid edge-effects). and the hyper-cube which is the log2(n)-dimensional grid
of size n. Does anyone happen to know it?
Hello Marco
Comments in line again
On 24/08/2015 18:49, Marco Colagrossi wrote:
I tried to upload the file once again. I tweaked it a bit, now my code is:
forest(pc, var, ci95m, ci95p, slab = authoryear, psize=1, subset=(pub==1),
xlim = c(-16, 6),
ilab = cbind(SIMdv, SIMiv),
Hi
Your data are rather wild so I am not sure if following function can do what
you want. I designed it primarily for intagration of peaks from different
sources.
integ1 - function (x, y, dm = -Inf, hm = +Inf)
{
ifelse(dm == -Inf, dm - min(x), dm - dm)
ifelse(hm == +Inf, hm - max(x),
On 26/08/15 10:59, Bert Gunter wrote:
SNIP
Gratuitous Question born from personal frustration with such
queries(so feel free to ignore): Why are you using (statistical)
procedures that you do not understand? Of course the parameters for
different treatments are different! -- but how and with
This is a statistical question, and is off topic for this list, which
is about R programming. Post to a statistical list, like
stats.stackexchange.com, instead.
Warning: This is not a simple issue. You should seriously consider
getting local advice from someone with the necessary statistical
Cordial saludo,
Muy amablemente solicito su ayuda con la siguiente inquietud:
Estoy tratando de interpolar datos de variables climáticas en R pero no he
podido ustedes me podría colaborar con un instructivo que me guié paso a
paso como se hace , ya que el objeto es tener como resultado el mapa
You will generally get more and better responses if you have a reproducible
example. Please read the posting guide.
Please excuse my brevity; this message was sent from my telephone.
On Aug 25, 2015 4:14 PM, Paulo Fonseca paulocfonse...@gmail.com wrote:
Cordial saludo,
Muy amablemente
38 matches
Mail list logo