Displaying 16 results from an estimated 16 matches for "vioplot".
2011 Nov 22
3
logarithmically scaled y-axis in vioplot
Dear all
I am trying to make a graphic with the "vioplot" package. I use the following code:
library(vioplot)
x1 <- GSMrxDL
x2 <- WIFI
x3 <- UMT
vioplot(x1, x2, x3, ylim=c(0, 10), names=c("GSMrxDL", "WIFI", "UMT"), col="gold")
title("NIS Strahlung", xlab="Sender", ylab="V/m&q...
2010 Dec 23
1
Vioplot / list help
Hi,
I have some data (lots of year,distance pairs), which I can
straightforwardly boxplot:
dists <- read.table("movedists.dat")
with(dists,plot(as.factor(V1),V2))
If I want to plot these data as violin plots using vioplot, this
approach doesn't work:
> with(dists,vioplot(as.factor(V1),V2))
Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, :
min not meaningful for factors
I tried making columns by year:
ys=with(dists,by(V2,V1,function(x) x))
or even making that into a matrix:
ysm&l...
2006 May 29
1
variation on vioplot?
I have been using the package vioplot to make
boxplot/densityplots. Now I am looking for a variation of this, and I
was wondering if someone could give me any tips on how to do what I
want.
I have nine groups of values, each group containing two sets of
numbers which show the difference between two values, such as this:
Start dev...
2005 Oct 26
2
horizontal violin plots?
I am trying to make horizontal violin plots. I have tried both vioplot
and simple.violinplot, but both of them seem to not be willing to take
the horizontal option. Is this correct, or am I just bungling it
somehow?
For instance, for vioplot (from the example shown, with the horizontal
modification):
> vioplot(bimodal,uniform,normal, horizontal=TRUE)
Error in me...
2008 Apr 22
1
Feed list of vectors to vioplot()?
Hi,
I have a list of vectors and am trying to coerce them into something that
vioplot will take as groups of data to be plotted independently. Can
someone nudge me into the right direction?
Thanks, Joh
2017 Jul 24
0
Compare output of Violin plot from ggplot2 and vioplot . Need Explanation
Hi,?
I have made violin plot with both ggplot2 and vioplot package with same data.?
The results and code are as follows.?
################### ?Loading data?
data.melt <- dget("https://gubox.box.com/shared/static/rirth0eym114afwyjxwe128sjzipzdym.txt")
################### ?Violin plot by library(vioplot)
library(vioplot)
data.use_11<- data....
2016 Apr 30
4
Removing NAs from dataframe (for use in Vioplot)
Hi
First post and a relative R newbie....
I am using the vioplot library to produce some violin plots. I have an input CSV with columns off irregular length that contain NAs. I want to strip the NAs out and produce a multiple violin plot automatically labelled using the headers. At the moment I do this
Code:?
ds1 = read.csv("http://www.lecturematerials.co....
2013 Mar 26
1
Increase font size in plots
Hi
I am using violin plots (type of boxplots) and I am trying to increase the font size in the plots.
It looks like that the violin plots do not work as "normal" plots as the cex parameters are ignored.
You can have a loot at the code below
require('vioplot')
data1<-rnorm(100)
data2<-rnorm(10)
data3<-rnorm(1000)
vioplot(data1,data2,data3,cex.lab=2,cex.axis=2)
Regards
Alex
[[alternative HTML version deleted]]
2005 Mar 21
2
Violin plot for discrete variables.
...ve is the following. I have to discrete variables
X and Y which distribution I would like to compare. To overlay the
distribution of Y with lines(table(Y)) gives not satisfying results.
This is the same in case of using density or histogram.
Hence, I am wondering if there is a equivalent of the vioplot function
(package vioplot) for discrete variables
which starts with a boxplot and than adds a rotated plot(table()) plot
to each side of the box plot.
Maybee I should ask it first: Does such a plot make any sense? If not
are there better solutions?
cheers
Eryk.
--
Witold Eryk Wolski
__(&quo...
2005 Oct 20
2
Boxplot labels
I am creating boxplots from a dataframe and would like to add to the
standard output a marker representing the value from a particular row in the
dataframe.
.....And I apologize if the solution is as trivial as it seems it should be.
Thanks for any assistance.
Keith
2008 Feb 04
7
adding the mean and standard deviation to boxplots
Dear list,
How can I add the mean and standard deviation to each of the boxplots using the example provided in the boxplot function?
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
2008 Aug 06
4
How to calculate GLM least square means?
Hello R-helpers,
I would like to calculate least square means after having built a GLM with
quasipoisson errors.
In my model the dependent variable is continuous, I have one continuous
independent variable and one categorical independent variable (that is the
variable for which I would like to calculate the least square means).
I've looked around for the command to calculate the least
2004 Sep 13
2
bagplot()
Hello,
I saw a little discussion about this in the archives, but it was unclear to me whether someone had
submitted a port to R of the Splus bagplot() function. If so, does anyone know where I could get
it? Thanks.
Best,
Matt
2005 Oct 07
1
The R Graph Gallery {was boxplot statistics}
...y
>> misleading in others. Here are a couple of suggestions for plots
which
>> you may find more useful than the standard box plots:
>> - figure 3.27 from
>> http://www.stat.auckland.ac.nz/~paul/RGraphics/chapter3.html
>> - violin plots (see package vioplot) - density plots - histograms
>> - box-percentile plots (bpplot from Hmisc)
>> - quantile plots
>> - if comparing 2 distributions, qq plots, quantile-difference plots,
>> mean-difference plots etc.
Romain> Hi,
Romain> HDR (highest density regi...
2005 Oct 04
6
boxplot statistics
I have read and reread the boxplot and the boxplot stats page, and I
still cannot understand how and what boxplot shows. I realize that
this might be due to me not knowing enough statistics, but anyway...
First, how does boxplot determine the size of the box? And is the line
inside the box the mean or the median (or something completely
different?) And how does it determine how long out the
2007 Mar 26
1
Problem in loading all packages all at once
...a","urn","uroot","UsingR","USPS","utils","vabayelMix","VaR","vardiag","varmixt","varSelRF","vcd","VDCutil","vegan","verification","verify","vioplot","VLMC","wavelets","wave
slim","wavethresh","wccsom","WhatIf")
TEMP <- c(TEMP,"wle","XML","xtable","Zelig","zicounts","zoo")
#TEMP <- c(TEMP,"runfirst")
#TE...