Displaying 20 results from an estimated 800 matches similar to: "construct boxplots from data with varying column widths"
2011 Jul 16
1
Fwd: construct boxplots from data with varying column widths
From: David Winsemius <dwinsemius at comcast.net>
On Jul 16, 2011, at 12:15 PM, Rory Campbell-Lange wrote:
> On 16/07/11, David Winsemius (dwinsemius at comcast.net) wrote:
>>
>> On Jul 16, 2011, at 11:19 AM, Rory Campbell-Lange wrote:
>>
>>> I'm an R beginner, and I would like to construct a set of boxplots
>>> showing database function runtimes.
2006 Oct 23
0
Construction of Dataset for time varying COXPH analysis
Question: When survfit() function is used upon a coxph object, the 'n' returned is vastly smaller (n=6) than the number of distinct loans in the dataset used.
I am trying to estimate a Cox proportional hazards model for a set of loans (over 6000) using using time varying covariates. For this 6000+ loans, I have some 62,000 different vectors representing the loans at different periods of
2011 Nov 23
2
Bar charts, frequencies known, intervals of varying width
Hi
I would like to plot bar charts in a particular way. The intervals are not
evenly distributed and are in a data frame column called size and the
relative frequencies are in a second column called mass. Both size and mass
are continuous ratio data to all intents and purposes. The data actually
represents sieving of sand where $size is sieve aperture and where $mass is
the amount remaining on
2009 Apr 14
2
Controlling widths in write.fwf()
Is there a way to handle the widths of values being written to a file
using wrtite.fwf() ?
For example, I used read.fwf(file, width.vector) to read a file. After
making the necessary data manipulation, I want to write the data to a
new file in the same width.vector format. Is there a way to specify
this?
Thanks in Advance
Aparna
[[alternative HTML version deleted]]
2007 Jul 29
1
line widths of plotting symbols in the lattice
Dear List,
Sorry, this is very simple but I can't seem to find any information regarding
line widths of plotting symbols in the lattice package.
For instance, in traditional graphics:
> plot(1:10,lwd=3)
> points(10:1,lwd=2,col=3)
'lwd' allows control of plotting symbol line widths.
I've tried looking through the documentation for xyplot, panel.points,
trellis.par.set,
2004 Sep 13
1
Wishlist: axis() and line widths (PR#7223)
Full_Name: Tom Short
Version: 1.9.1
OS: Win2000 & Debian
Submission from: (NULL) (64.65.255.41)
WISHLIST:
axis() has a default parameter of "lwd = 1". I want skinnier lines as the
default. If I change the default lty, it doesn't change what axis uses.
The following code produces a graph with a box around it, but the axis lines are
twice as thick as the box around the plot, so
2000 Jul 17
0
Fonts and Line widths in boxplot
> Hi All R guru's,
>
> A couple of simple questions which I cannot find answers to in "an
> introduction to R" or in the reference manuals.
>
> I am running R on Win95, and have plotted up quite a nice box and whisker
> plot:
>
> char<-read.table("n:/reddinm/grifpr~1/survey/char.txt")
> attach(char)
> boxplot(Al,Fe,OC,pH,
2001 Feb 05
1
Bar widths in barplots don't change
Is the width= parameter in barplot() supposed to work? I couldn't get it to
work in my plot, and even in the example,
data(VADeaths, package = "base")
barplot(VADeaths, width=rep(0.1, 4))
the plot looks identical regardless of what I put in for the width. I looked at
the source for barplot() and it looks like it SHOULD work (but what do I know).
Am I doing something wrong?
2006 Jun 15
1
How to change the margin widths in png-plots?
Hello,
I have tried to change the margin widths so that mtext (here "sd of
consecutive pc intervals", look at the picture) and
plot(...,xlab="bar") fits to the picture.
Here is an example:
http://users.utu.fi/attenka/margins.png
This doesn't help:
par(mar=c(5.1, 7.1, 4.1, 2.1))
And here are the commands:
png(filename="/Users/kone/Vaitostutkimus/Pictures/
2008 May 05
2
axis and tick widths decoupled (especially in rugs!)
Hi!
(a complete newby, but will not give up easily!)
I was wondering if there is any way to decouple the axis and tick mark
widths? As I understand they are both controlled by the lwd setting, and
cannot be controlled independently? For example I might want to create major
and minor ticks, which I now know how to do by superimposing two axes with
different at settings, but what if I also wanted
2008 Mar 12
1
Problem with specifiying column widths in layout
I am trying to generate a graphic with a matrix of 9 line graphs (3 rows, 3
columns), all with the same y-axis range, and only showing the y-axis
labels and title at the left edge of each row of the matrix. I have been
trying to use the widths argument in layout to specify a larger column
width in the left column so that I have room for the y-axis labels and
title, but I get the following error:
2001 Nov 23
1
Changing strip widths in lattice plots
Hello R users,
I'm using xyplot (lattice) to plot some data. Unfortunately, the text that goes
into each strip is often too big to fit. For instance, one of the factors may
be labelled "Satisfaction with waiting time" which is too wide to fit. If I use
split.string() to wrap it onto two lines it is then too high to fit in the
strip. I'd prefer to apply split.string on the
2005 Feb 18
2
Fixed column widths in FXTable?
Is there a way to make an FXTable''s column widths (and row heights)
unchangeable by the user? By experimentation it looks to me like leaving
out TABLE_COL_SIZABLE and TABLE_ROW_SIZABLE from the options field in
FXTable.new() has no effect. I can still drag the intersection between
two column heading buttons to change the column width. The code I''m
using to test this is
2007 Aug 07
2
Varying case sensitivity
Hi all,
I''m using ferret 11.4 together with acts_as_ferret and I''ve indexed the
geonames.org country files. These files contain worldwide locations in
UTF-8 with all their different spellings each.
Model definition is like this:
class location
acts_as_ferret :fields => {:location_names => {}}, :single_index =>
true
...
end
The instance method location_names
2003 Sep 10
0
Multivariate Kalman filter with time-varying coefficients
Hi
Does anyone know of any R code for estimating a *multivariate* state
space model using a Kalman filter where the output matrix H(t) is
time-varying but predictable (i.e. measurable w.r.t information at time
t-1) in the observation equation
y(t) = H(t) z(t) + R w(t)?
[Here y(t) are the observations, z(t) is the state variable, w(t) the
observation error and R R' the observation error
2009 Mar 01
1
gamm (mgvc) and time-varying coefficient model
Dear R users,
I have repeated measurements on individuals. I want to estimate the
time-varying effect of a factor variable X (taking three levels), e.g. a
model in the spirit of Hastie and Tibshirani (1993).
I am considering using the package "mgvc" which implements generalized
additive models, especially the function gamm, which estimates
generalized additive mixed models, and thus,
2008 May 28
0
multistate survival analysis w/ time varying covariates
Hi, I've seen in the NestCohort package that one can do a hazard model with a
binary outcome using covariates. I am interested in multistate hazard models
with time-varying covariates, but can't seem to find this already implemented
in an R package. Is this included somewhere but called something else? I feel
like I've looked all over.
Thanks!
Michaela Gulemetova-Swan
2006 Sep 14
1
time varying covariates
Hello,
I am trying to model an intensity function with time-varying covariates.
Before, I have successfully defined a log likelihood function for a
Power-Law Process (lambda(t)=alpha*beta*t^(beta-1)) with two paramters
and no covariates for a repairable systems with failure times (t).
This function was maximized with R optim. No problem!
But now I want to include a covariate indicating a
2010 Sep 28
0
Time invariant coefficients in a time varying coefficients model using dlm package
Dear R-users,
I am trying to estimate a state space model of the form
(1) b_t = G * b_t-1 + w_t w_t ~ N(0,W)
(2) y_t= A' * x_t + H' * b_t + v_t v_t ~ N(0,V)
(Hamilton 1984: 372)
In particular my estimation in state space form looks like
(3) a3_t = 1 * a3_t-1 + w_t w_t ~ N(0,W)
(4) g_t = (a1, a2) * (1, P_t)' + u_t * a3_t + v_t v_t ~ N(0,V)
where g_t is the
2008 Mar 26
0
recursive multivariate filter with time-varying coefficients
Hi,
I've been searching CRAN and the web for a recursive multivariate
filter with time-varying coefficients.
What I mean is the following:
I have a series of square matrices A_t
an initial value vector y_0
and I need to compute
y_t =A_t%*%y_t-1
As these y_t may diverge quickly and/or lead to underflow problems,
the y_t need to be scaled by eg
y_t =y_t/sum(y_t-1)
Is anyone aware