Displaying 20 results from an estimated 500 matches similar to: "Violin plot of categorical/binned data"
2008 May 23
1
Create a data subset
Hello,
I want to select same data of a data frame that has information of fish
catches:
catch, vessel, trip, day, month, year
where trip is the fishing operation number done in each day by each vessel,
i.e. for each day, any vesel can have several register of catch
corresponding to each operation.
>From this data frame I want to do:
1. Add the catches of all trip by vessel and day; then
2013 Oct 24
2
track on boats
Hi professors
I'm finding the best package in R for manage a big database about vessels. I need to divided the travel of each boat into tracks. I have GPS points.
I would join these points in a line on the map. I make that with the function "lines", but I can't divided by vessel or by track,
I saw several packages, for tracking animals but they had specifically variables. And I
2012 Feb 10
2
apply pairs function to multiple columns in a data frame
I am very new to R and programming and thank you in advance for your patience
and help with a complete novice!
I am working with a large multivariate data set that has 10 explanatory
environmental variables (e.g. temp, depth) and over 60 response variables
(each is a separate species). My data frame is set up like the simplified
version below:
JulianDay Temperature Salinity Depth Copepod
2008 Oct 01
4
Pxelinux freezed
Some time ago, I sent a email to list. With my perfect english, wasn't
possible explain my problem, then I recorded a video, end upload to
youtube.
Please watch the video.
http://www.youtube.com/watch?v=z1KJ8sA4_5w
Samuel Rios Carvalho
2011 Mar 24
1
Colour makes my life; but not my bwplot (panel.violin)
Using Trellis, am successfully setting up a number of panels (25) in which I
have two box and violin plots.
I would like to colour - one plot as RED and the other as BLUE (in each
panel). I can do that with the box plots, but the violin density areas just
take on one colour.
My basic call is as follows:
bwplot(rmsd ~ file | code,
data=spread_data.filtered,
panel = function(...,
2009 Apr 27
1
Changing color of points in violin plot
Hello,
I am trying to graph a violin plot like the example in
panel.violin(lattice) with the singer data - see below
Does anyone know how to change the color of the boxplot on the graph
from blue to green? I tried a number of changes, but to no avail.
Thanks for your help,
John
bwplot(voice.part ~ height, singer,
panel = function(..., box.ratio) {
2011 May 06
1
Weighted box or violin plots in Lattice?
Is it possible to create weighted boxplots or violin plots in lattice?
It seems that you can specify weights for panel.histogram() and
panel.densityplot(), but not for panel.bwplot or panel.violin().
Please let me know if I've missed something in the package documentation.
Thanks!
--
Raphael D. Mazor
Freshwater Biologist
Southern California Coastal Water Research Project
3535 Harbor Blv
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.melt$value[data.melt$ident == 0]
2009 Nov 16
2
violin - like plots for bivariate data
I'm attempting to produce something like a violin plot to display how y
changes with x for members of different groups (My specific case is how
floral area changes over time for several species of plants). I've looked at
panel.violin (in lattice), which makes nice violin plots, but is really set
up to work on a single variable - the area trace represents the frequency of
each value of x
2004 May 20
1
mixed models for analyzing survey data with unequal selec tion probability
Han-Lin
I don't think I have seen a reply so I will suggest that maybe you could try
a different approach than what you are thinking about doing. I believe the
current best practice is to use the weights as a covariate in a regression
model - and bytheway - the weights are the inverse of the probabilities of
selection - not the probabilities.
Fundamentally, there is a difficulty in making
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 median(data) : need numeric data
2006 May 10
13
Issue in ActiveRecord generated reader methods
Hi all!
I have come into a strange issue in Rails that I am hoping someone
can shed some light.
To make a very long story short, I have been researching how to
override ActiveRecord::Base#read_attribute and write_attribute to
perform security checks at the model level (influenced by the
ModelSecurity generator). Shortly after implementing some code to
check this behavior, I began to
2005 Mar 21
2
Violin plot for discrete variables.
Dear Rgurus,
To my knowledge the best way to visualize the distribution of a discrete
variable X is
plot(table(X))
The problem which I have 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
2011 Mar 08
3
A plot similar to violin plot
Dear R Users,
I would like to know is there any package to create a plot like this?
http://dl.dropbox.com/u/5409929/cs1160521f01.gif
X axis is categorical. And the positions of the points are
corresponding to the frequency. (similar to violinplot)
Thank you.
Regards,
CH
--
CH Chan
2011 Apr 20
3
succession time series graph
Dear gracious R community,
I would like to produce charts of phytoplankton biomass changes
through time. Each species has a line, and the biomass varies in
mirror form along the line for each species along the X time axis.
Here is an example of what I'd like to do:
http://www.er.uqam.ca/nobel/r30240/Succession.jpg
Any suggestions?
Thanks
David Bird
UQAM, Montreal
2010 Oct 13
2
vertical kites in KiteChart (plotrix)
Dear everyone,
I would like to create a kite chart in which I plot densities (width of the
vertical kites) in relation to sediment depth (on reversed y-axis) for 6
different locations (Distances from seep site, on x-axis on top of the
plot). The dataset I would like to use is:
Distance_from_seep_site Sedimentdepth Density
1100 0 107.8
1100 1 264.6
1100 2 284.2
2011 May 08
1
Hosmer-Lemeshow 'goodness of fit'
I'm trying to do a Hosmer-Lemeshow 'goodness of fit' test on my logistic
regression model.
I found some code here:
http://sas-and-r.blogspot.com/2010/09/example-87-hosmer-and-lemeshow-goodness.html
The R code is above is a little complicated for me but I'm having trouble
with my answer:
Hosmer-Lemeshow: p=0.6163585
le Cessie and Houwelingen test (Design library): p=0.2843620
2011 Sep 17
2
R kiteChart (plotrix) arguments
Hey,
I hope someone is able to help. I've created a graph using kiteChart (in
the plotrix package) but need to know how to perform some basic text
alterations to the graph. I would like to re-orientate the text on the
y-axis from vertical to horizontal. I understand that the argument normally
for this is las=1. However, this does not seem to work. Perhaps kitechart
uses an alternative
2012 Apr 27
3
kiteChart to show real values with scalebar
Dear R-users
I hope someone could help me on this problem.
I want to create a multiple kiteChart showing the real values with a
scalebar on each indicating the scale .
Here are some sample data to show what I want to achieve.
Y <- read.table(textConnection("Sample1 Sample2
60 20
150 50
300
2010 Sep 17
3
Preparing data frame for Plotrix kiteChart
Although, I can fix this, I am trying to sort out something as
straighforward as possible for my students, and I have some questions
that hopefully someone can help me with.
My data is:
Species Distance Count
A 5 0
A 10 5
A 15 5
A 20 3
A 25 1
B 5 8
B 10 20
B 15 28
B 20 12
B 25 12
C 5 5
C 10 12
C 15 19
C 20 27
C 25 34
But I am struggling to get this into a data frame that does