Displaying 20 results from an estimated 2000 matches similar to: "adding line to spinogram"
2005 Oct 20
0
vcd package 0.9-5 released
Dear useRs,
a new version of the vcd package (0.9-5) is now available from CRAN.
Apart from (a lot of) bug fixes, it includes the following new features
(some of them have 'silently' been included in previous bug fix
releases):
* Improved documentation:
- an introductory vignette on the strucplot framework (including
mosaic, association and sieve plots)
- special vignettes on
2005 Oct 20
0
vcd package 0.9-5 released
Dear useRs,
a new version of the vcd package (0.9-5) is now available from CRAN.
Apart from (a lot of) bug fixes, it includes the following new features
(some of them have 'silently' been included in previous bug fix
releases):
* Improved documentation:
- an introductory vignette on the strucplot framework (including
mosaic, association and sieve plots)
- special vignettes on
2011 Dec 04
1
Complex multiple t tests in a data frame with several id factors
I have assayed the concentrations of various metal elements in
different anatomic regions of two strains of mice. Now, for each
element, in each region, I want to do a t test to find whether there
is any difference between the two strains.
Here is what I did (using simulated data as an example):
# create the data frame
> elemconc = data.frame(expand.grid(id=1:3, geno=c('exp',
2013 Feb 08
1
color query in mosaic in package vcd
require(vcd)
mosaic(matrix(1:6, 2, 3), gp=gpar(fill=c("red","gray","blue")), main="three
colors in each row")
mosaic(matrix(1:3, 1, 3), gp=gpar(fill=c("red","gray","blue")), main="only
one color in each row")
I anticipated three colors in the second plot. My guess is that there is
a matrix subscript without
2008 Sep 26
2
adjusting textsize and spacing in mosaic (vcd package)
I'm trying to find a way to change the font size in a mosaic plot (the
grid version, not the base graphics one).
Here's an example to demonstrate:
#Basic plot
library(vcd)
mosaic(HairEyeColor, shade = TRUE)
#Bad first guess: this stops the default cell colouring, and doesn't
change the font size
mosaic(HairEyeColor, shade = TRUE, gp=gpar(fontsize=16))
#This successfully changes
2012 Apr 06
2
Changing grid defaults
I'm trying to use the vcd package to produce mosaic plots for my class
notes, written in Sweave and using the LaTeX's beamer document class.
For projecting the notes in class, I use a dark background with light
foreground colors. It's easy enough to change the defaults for R's
standard graphics to match my color scheme (using the fg, col.axis,
col.lab, col.main, and col.sub
2007 Sep 19
4
fontsize in mosaic plot lables
Hi List,
I am trying unsucessfully to modify the fontsize of lables in mosaic:
require(vcd)
mosaic(Titanic, pop=FALSE,
labeling_args=list(rot_labels=c(bottom=90,top=90),
set_varnames = c(Sex = "Gender"),
gp_text=gpar(fontsize=20))) #can't get it to resize text
tab <- ifelse(Titanic < 6, NA, Titanic)
# it works for labeling_cells
labeling_cells(text = tab,
2013 May 28
3
Nueva consulta
Hola buenas tardes:
Vuelvo a solicitar su ayuda porque no puedo saber que pasa. Estoy usando el
documento 'Regresión Logística Categor/Tema 4 Cate.pdf como guía y el
ejemplo que ustedes conocen de los cangrejos (crab.txt).
Cargo los datos, los guardo en un data frame llamado tabla; al pedir
tabla[1:5,] obtengo:
color spine width satell weight
1 3 3 28.3 8 3050
2 4
2007 May 21
2
comparing fit of cubic spline
I want to compare the fit of a quadratic model to continuous data, with that
of a cubic spline fit. Is there a way of computing AIC from for e.g. a GAM
with a smoothing spine, and comparing this to AIC from a quadratic model?
Cheers
******************************************
Tom Reed
PhD Student
Institute of Evolutionary Biology
102 Ashworth Laboratories
Kings Buildings
University of
2004 Sep 10
3
possible format change
After doing a lot of automated seek testing on files, it looks like
the length of the sync code (currently 9 bits) is not long enough to
enable a really robust AND efficient seek algorithm. Lengthening the
sync code will require a format change (i.e. FLAC <0.8 streams won't
play back on FLAC >0.9 decoders), so I'm sending this message out to
see if there is any "NO DON'T DO
2011 Sep 14
1
Can 'mosaic' be used with a continuous variable?
Hello,
I'm wondering if the 'mosaic' plot of the vcd package (or any other function for that matter) can be used with a continuous variable that should be represented via various categorical variables. All the documentation I've read lead me to believe that it only works with counts of categories.
Alternatively, I've thought of first creating a contingency table where the
2013 Jun 16
1
trying to fit a thin plate spline to a triangular plot
Hi
Has anyone tried to fit a thin plate spine to a triangular plot before? I'm having trouble working out a piece of code to make it possible with three axes. I have done it before with two axes.
I've found a package I prefer that makes triangular plots (plotrix) using the triax.plot() function. An example of some data and the plot follows:
graph.data<-data.frame(a=c(9,6.2,
2011 Dec 08
1
How to plot multiple graphs in one go?
I am trying to do this, but it won't work:
> library(lattice)
> elemconc = data.frame(expand.grid(id=1:20, geno=c('exp', 'wt'),
region=c('cor', 'cr', 'spine'), elem=c('fe', 'cu', 'zn')), conc=rnorm(360,
10))
> elemconc$geno = factor(elemconc$geno)
> elemconc$region = factor(elemconc$region)
> for (i in
2012 May 02
0
adding a caption to a mosaic plot?
Dear all:
Is there a way to add text to the margins or outer margins of a mosaic plot using the vcd package? I understand the margins argument to mosaic, but I don't know how to add text to that.
I'd like to add a caption to a plot. If possible, I'd like to know how to set the font and size for that function as well. My plot looks roughly as below.
Thank you for your time!
Simon J.
2002 Feb 14
1
immortal connections
I have several data input functions that include a construct like
the following:
indat <- function(stuff) {
[...]
awkp <- paste("awk ...yada yada...", stuff, etc.)
scan(pipe(awkp),quiet=TRUE)
}
I use these functions a lot, and as I do, a lengthening list of
closed, but undestroyed, connections accumulates. Ultimately this
appears to stuff things up and cause
2008 Feb 06
1
Nested ANOVA models in R
Hi,
I'm trying to work through a Nested ANOVA for the following scenario:
20 males were used to fertilize eggs of 4 females per male, so that
female is nested within male (80 females used total). Spine length
was measured on 11 offspring per family, resulting in 880
measurements on 80 families.
I used the following two commands:
summary(aov(Spinelength ~ Male*Female))
and
2013 Jul 04
1
Modificar una función de un paquete
Muchas gracias Javier,
Lo que yo quiero es cambiar el título de la leyenda que dice "Pearson
residuals" a español "Residuales de Pearson", pero no me doy cuenta como.
También en lugar de "p-value", que diga "Valor de P". Es posible?
Manuel
2013/7/4 Marcuzzi, Javier Rubén <javier.ruben.marcuzzi@gmail.com>
> Estimado Manuel Spíndola
>
>
2013 Mar 19
1
Q4WineSetup:
Hi People, I am new to this entire setup and I am running Fedora17 on my
Linux machine. I am trying to do a college course at home with
Stanford.edu on eclipse & Karel package for intro to programming. As I
start the install of the 1st package which is
Java 1.6 JRE installer for the PC
<http://www.stanford.edu/class/cs106a/software/jre-6u2-windows-i586-p.exe>
It gets stuck on step 3.
2013 Jul 04
0
Modificar una función de un paquete
Estimado Manuel Spíndola
Del repositorio r descargo el paquete, me refiero a:
Package source: vcd_1.2-13.tar.gz
Descomprimo y busco el archivo que creo conveniente, en este caso copio y
pego el código de mosaicplot
A partir de ahí el trabajo es interpretar el código, copiar la parte útil,
modificar lo conveniente, en fin, lleva tiempo pero se aprende mucho de esa
forma, yo lo realice con
2008 May 02
1
A horizontal or vertical line draw on mosaic plot?
Hi,
I want to have a horizontal line on a mosaic plot with "vcd" package.
This would give me an idea where is 0.5 proportion in a cell. Using
"mosaicplot" function of "graphics" package, I can draw a line using
"abline." But, with "mosaic" function of "vcd" package, I have tried
to use "abline" function, which complains