Displaying 20 results from an estimated 4000 matches similar to: "align xyplot"
2011 Apr 13
2
FW: how to enclose two xyplot
Dear R-users,
I have to plot two xyplot, and I wish to enclose this two graphs with just one headline, the same x scale, the same grid etc.
These parameters should tie in, in order to obtain, visually, a unique graph formed by two xyplot.
I try to give an idea:
xyplot1: |_|_|_|
xyplot2: |_|_|_|
what i want: | | | |
|_|_|_|
I tried to use the command
2012 Jun 05
2
par and complex graph
Dear R-Users, I'd like to have some tips about printing graph.
I use the command par to print more graphs in one window:par(mfrow=c(6,1)); par(oma=c(2.5, 2.5, 2.5, 2.5)); par(mar=c(0.5,4, 0.5, 0.5))
But this command doesn't run with complex graphic command (i.e. xyplot, ternaryplot).How can I print more than one graph per page, when I work with this "elaborated" graph?Many
2008 May 12
2
Cumulative lattice histograms
An embedded and charset-unspecified text was scrubbed...
Name: inte tillg?nglig
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080512/9533b31f/attachment.pl>
2004 Oct 25
1
Multiple formula in one block
Hi Everybody:
I want to draw some chart using command "histogram" and add another curve in it.
Example:
require(stats)
data(singer)
library(lattice)
histogram( ~ height | voice.part, data = singer, nint = 17, endpoints = c(59.5, 76.5), layout = c(2,4), aspect = .5, xlab = "Height (inches)")
Now I got a chart of 8 blocks, then I need add :"
2011 Aug 23
1
histogram with mean for every break
Dear R-users,
I need to produce a histogram where for every breaks there are the mean of the data.
I tried tu use the function >hist(x, break=20 ... ) but this return the numerosity for every breaks, not the mean.
Any hint?
Thanks in advance,
francesco
---------------------------------------
Francesco Nutini
CNR-IREA
Ist. per il Rilevamento Elettromagnetico dell'Ambiente
Via
2011 May 20
5
regression coefficient for different factors
Dear R-helpers,
In my dataset I have two continuous variable (A and B) and one factor.
I'm investigating the regression between the two variables usign the command
lm(A ~ B, ...)
but now I want to know the regression coefficient (r2) of A vs. B for every factors.
I know that I can obtain this information with excel, but the factor have 68 levels...maybe [r] have a useful command.
Thanks,
2008 Feb 01
1
Cannot save histogram picture when run from script
Hi,
I am faced with a strange problem. My picture file is empty when the
following statements were run from R script. But the picture file shows up
correctly, when the commands are individually run from Rgui.
png(file="histogram_correlation.png", bg = "white")
require(stats)
histogram( ~ height | voice.part, data = singer, nint = 17,
endpoints = c(59.5, 76.5),
2010 Dec 03
1
ANCOVA method
Dear [R] Users,
I have implemented a linear model with this syntax:
model<- lm (var_dependent ~ var_indipendent + factor + var_indipendent : factor, dataframe)
anova (model)
Response: var_dependent
Df Sum Sq Mean Sq F value Pr(>F)
var_indipendent 1 20.5522 20.5522 87.8701 1.167e-14 ***
factor 1 0.1060
2012 Jan 31
1
Currency symbols in Xtick or Ytick labels
How do you label Xtick and Ytick marks with Currency symbols: $2000
instead of 2000? I would like to add dollar symbols to tickmarks on
boxplots, histograms and back-to-back histograms.
My Examples (requiring the lattice and Hmisc packages):
data(case0102, package="Sleuth2")
str(case0102)
boxplot(Salary~Sex, case0102)
histogram(~ Salary | Sex, data=case0102)
require(Hmisc)
#
2010 Feb 04
1
Changing fonts of axis labels in Histogram() function
Dear All
I am using the histogram() function to plot two subsets from my data on the
same output display, i.e. there are two histogram plots
My code is:
histogram( ~ Age | Date, layout = c(1, 2),
xlab = "Age (years)",
strip = FALSE, strip.left = TRUE, col = "black",
border = "white", cex.axis = 1.1, family = "serif", cex.lab =
2012 Oct 16
1
vectors comparison
Dear R-Users,
I'd like to have your help on this problem:
I have two vectors:x<- c(0,1,0,0,0,0,0,0,0,0,0,1,0)y<- c(0,0,-10,0,0,-10,0,-10,0,0,0,0,0)
And I want to know where the value -500 in y have a correspondence value 1 in x.Considering a buffer of one position before and after in x.i.e. in this example only the -10 in position y[3] satisfies the criteria, because x has in position
2010 Dec 03
2
difference between linear model & scatterplot matrix
Dear R-users,
I'm studing a DB, structured like this (just a little part of my dataset):
_____________________________________________________________________________________________________________
Site
Latitude
Longitude
Year
Tot-Prod
Total_Density
dmp
Dendoudi-1
15.441964
-13.540179
2005
3271.16
1007
16993.25
Dendoudi-2
15.397321
-13.611607
2008 Apr 15
2
dialed number notify at invalid dial situation
Originally posted by: mailto:
Hi all
Now I'm making IVR sequance that is customised [mainmanu].
I wish to notify invaid command like a following
exten => i,1,playback('your command is ...')
exten => i,2,playback(${EXTEN}) ; <---- Say 'i' oops! ;-(
exten => i,3,playback(' is incorrect! please again ')
# This exten lines are figure for instruction.
# I
2003 Apr 15
1
dialed number notify at invalid dial situation
Hi all
Now I'm making IVR sequance that is customised [mainmanu].
I wish to notify invaid command like a following
exten => i,1,playback('your command is ...')
exten => i,2,playback(${EXTEN}) ; <---- Say 'i' oops! ;-(
exten => i,3,playback(' is incorrect! please again ')
# This exten lines are figure for instruction.
# I know to use with gsm filename.
2003 Jul 17
2
Silly questions due to ingrained knowledge of analog phone use.
Greetings all!
I've got some really silly questions. I'm a technical guy, and I understand
how the astrisk server works and how VOIP works, etc... The problem I have is
that at my small company we have a phone system with analog lines and
everyone here is comfortable with the concept of using them. I've never seen
IP phones in action so I don't know how they work from a users
2006 Jun 06
2
error bars in lattice xyplot *with groups*
Hi all,
I'm trying to plot error bars in a lattice plot generated with xyplot. Deepayan
Sarkar has provided a very useful solution for simple circumstances
(https://stat.ethz.ch/pipermail/r-help/2005-October/081571.html), yet I am
having trouble getting it to work when the "groups" setting is enabled in
xyplot (i.e. multiple lines). To illustrate this, consider the singer data
2012 Jun 04
1
Ternary plot and filled contour
Dear R-Users, I'd like to have some tips for a ternaryplot ("vcd").
I have this dataframe:
a<- c (0.1, 0.5, 0.5, 0.6, 0.2, 0, 0, 0.004166667, 0.45) b<- c (0.75,0.5,0,0.1,0.2,0.951612903,0.918103448,0.7875,0.45) c<- c (0.15,0,0.5,0.3,0.6,0.048387097,0.081896552,0.208333333,0.1) d<- c (500,2324.90,2551.44,1244.50, 551.22,-644.20,-377.17,-100, 2493.04)
2004 Oct 25
0
答复: Multiple formula in one block
Hi Dimitris:
Thanks for your help, I will try.
BR
Yiyao
-----ÔʼÓʼþ-----
·¢¼þÈË: Dimitris Rizopoulos [mailto:dimitris.rizopoulos at med.kuleuven.ac.
be]
·¢ËÍʱ¼ä: 2004Äê10ÔÂ25ÈÕ 15:39
ÊÕ¼þÈË: YiYao_Jiang
³ËÍ: r-help at stat.math.ethz.ch
Ö÷Ìâ: Re: [R] Multiple formula in one block
Hi YiYao,
you need the `?panel.abline()' function, somehing like:
panel=function(x, breaks,
2006 Mar 13
2
Error Message from Variogram.lme Example
When I try to run the example from Variogram with an lme object, I get
an error (although summary works):
R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.2.1 (2005-12-20 r36812)
ISBN 3-900051-07-0
...
> fm1 <- lme(weight ~ Time * Diet, BodyWeight, ~ Time | Rat)
Error: couldn't find function "lme"
> Variogram(fm1, form = ~ Time | Rat, nint =
2010 Oct 11
1
MATLAB vrs. R
I need to find the area under a trapezoid for a research-related project. I was able to find the area under the trapezoid in MATLAB using the code:
function [int] = myquadrature(f,a,b)
% user-defined quadrature function
% integrate data f from x=a to x=b assuming f is equally spaced over the interval
% use type
% determine number of data points
npts = prod(size(f));
nint = npts -1; %number of