Displaying 20 results from an estimated 400 matches similar to: "plot 2 y axis"
2013 Jun 15
2
Plotting two y-axis vs non-numeric x-axis
Hi dear all, the following code is correct. but I want to use non-numeric
x-axis, for example
if I replace time <- seq(0,72,6) by
month <-
c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","Pag")
Ofcourse I use factor(month) instead of
2011 Jun 15
2
plot with two y axes BUT unaligned x axis
Hi all,
I have scoured the archives of this forum but nothing quite seems to fit the
bill...
I would like to plot a graph displaying two variables (y axes) that share
date as the x axis. However, the date values for each variable are not the
same - for example, some parasitoids were not released on days that
collections from the trap took place, whilst sometimes releases did occur on
the same
2013 Jun 06
2
generating a bar chart with two axis for co-linear variable
Hello Dimitris,
I was goggling for some help on Sensitivity vs 1-specificity and saw your link.
I hope you can be of help to me in one of the issue that I am facing in generating combo chart(bar chart and plot). I am a novice and have some difficulty in getting this logic correct.
I am give a dataset (I am attaching a sample dataset).
I am using a barplot() and passing values for
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
Oh sorry. An example say lots more than words. The data below, when
submitted to twoord.plot return the mentioned error. Rain are bars and Salt
lines, the bars appear and the error occurs with the salt data.
Point Rain Salt
Fev/03 365.6 13
Mar/03 235 18
Abr/03 115.1 18
Mai/03 47.4 18.75
Jun/03 112 15
Jul/03 156.8 17
Ago/03 66.1 15
Set/03 149.8 14
Out/03 167,1 11.5
Nov/03 269.3 17.5
Dez/03 283.7
2013 Apr 18
6
count each answer category in each column
Hey,
Is it possible that R can calculate each options under each column and
return a summary table?
Suppose I have a table like this:
Gender Age Rate
Female 0-10 Good
Male 0-10 Good
Female 11-20 Bad
Male 11-20 Bad
Male >20 N/A
I want to have a summary table including the information that how many
answers in each category, sth like this:
X
2009 Sep 10
1
Issue displaying DATES on a plot with two ordinates
Dear all,
I am having an issue with displaying the dates on a plot with two
ordinates (i.e. two differently scaled y-axes). Instead of dates
appearing on the x-axis I am instead seeing a string of numbers
(14460, 14465, 14470 and 14475).
example R code:
library(plotrix)
x.Left <- as.Date(c('2009-08-04', '2009-08-08', '2009-08-11',
'2009-08-15',
2011 Nov 28
1
Superimpose two graphs
Dear R users,
I want to superimpose two graphs as well as ensure that they should have
same scale with same x & y axis.
I am using following command but it does not ensure same scale.
*pdf(file = "../RESULTS/RS1.simulated.pdf", width = 10, height =6)*
*plot(Reserves.RS, col = 1:2, screen = 1)*
*par(new= TRUE)*
*barplot(RS.active, axes = FALSE)*
*dev.off()*
*
*
Regards
Vikram
2013 May 07
4
create unique ID for each group
Hey All,
I have a dataset(dat1) like this:
ObsNumber ID Weight
1 0001 12
2 0001 13
3 0001 14
4 0002 16
5 0002 17
And another dataset(dat2) like this:
ID Height
0001 3.2
0001 2.6
0001
2013 Apr 12
2
split date and time
Hi R experts,
For example I have a dataset looks like this:
Number TimeStamp Value
1 1/1/2013 0:00 1
2 1/1/2013 0:01 2
3 1/1/2013 0:03 3
How can I split the "TimeStamp" Column into two and return a new table like
this:
Number Date Time Value
1 1/1/2013 0:00 1
2 1/1/2013 0:01 2
3 1/1/2013 0:03 3
Thank!
[[alternative HTML version
2013 Jun 03
2
delete active dataset
Hi All, whenever I open R using the shortcut on desktop, there are 2 active
datasets in the workspace, I tried to start the program from Start menu,
same thing!! How can I delete these two active datasets and make sure
whenever I restart the program, they wont appear?
Thanks!
[[alternative HTML version deleted]]
2013 Apr 10
3
how to calculate average of each column
Hey All,
I have a large dataset and I want to calculate the average of each column
then return a new dataset.
Here is my question: I dont know if there is a function that can allow me
to calculate the average every 60 records of data in the whole dataset, and
return a new data frame. Not sure if I have to divide the dataset first for
every 60, then do the mean or can i directly do that.
thanks
2013 May 21
3
add identifier column by row
I want to add identifier column (Date) to a time series data frame. I want
to name the "Date" column be from 1 to 30 every 1440 rows.
Say I have a data like this (I simply my actual data here):
$dat
ID Var
1 1
2 4
3 6
4 7
5 7
6 8
How can I add identifier column (Date) from 1 to 3 every 2 rows and have
output like this:
ID
2004 Jul 20
2
Samba Upgrade
Hi Folks,
I would really appreciate any words of wisdom people here could provide me.
I have Samba 2.2.7a, as shipped with RH 9.0, running on a server, supporting
about 25 W2k clients. The linux kernel is running in SMP mode to use the
Hyper-Threaded Pentium-4 CPU. I have tried to create the simplest SAMBA setup
possible, so have no LDAP, ACLS, etc. The 25 w2k clients are all architects
2007 Aug 31
2
Microsoft RTAudio
Hello Ivo:
One more from me and I suppose a retort by you
and that's it ... no flame war please. Let's see
if we can keep this discussion objective.
I've had enough life experience to have seen and
heard the mistakes you've made many times. Point by point:
* This is a tech list that I joined a number
of years ago because of a serious intent to use
the Speex product in my
2013 May 03
3
color by group in ggplot
Hey,
I have a dataset like this:
ID Var1 Var2 Group
A1 1 1 BB
A2 1 2 AA
B1 2 1 CC
B2 1 3 DD
C1 1 2 EE
I would like to plot the points of Var1 and Var2, use "ID" as X-axis, but
color the points by "Group". I can
2013 Nov 12
3
[LLVMdev] Debug info: type uniquing for C++ and the status on building clang with "-flto -g"
Hi All,
Type uniquing for C++ is in. Some data for Xalan with -flto -g:
9.9MB raw dwarf size, peak memory usage at 2.8GB
The raw dwarf size was 58MB, memory usage was 7GB back in May, 2013.
Other efforts at size reduction helped, and type uniquing improved on top
of those.
Data on building clang with "-flto -g" after type uniquing:
3.4GB MDNodes after parsing all bc files, 7GB
2007 Aug 31
4
Microsoft RTAudio
Hello Jean:
Big mistake!!
One of the three things that a supplier should never discuss is
politics ... that's business 101.
Speex may be a very good product, but we will never use it because of
the politics that you espouse ... some of us out here believe
strongly in the free market. And we also know that monopolies can't
exist because entrepreneurs will always exploit the
2006 Apr 28
4
par(mfror=c(1,2))
dear list,
i have a problem using the par function.
in one graphic device i want to have two plots so i tried to use
par(mfror=c(1,2)).
of course it worked out, but the height now is twice the length of the width
for each single plot.
what i actually wanted is something like par(mfrow=c(2,2)) where only the
top (or bottom)
two plots are drawn with entire length proportions of 1 to 2 ( height 1,
2007 Jan 02
3
graphical parameters: margins
Hi all,
Please, while using image() which is the graphical parameter which control the space between ylab and the y axis? I do need to write a number of relatively long y labels and I am not able the control, if possible, this space.
See the effect I need to avoid...
http://nvx.environmentalchange.net/@rrodriguez/images/overlapping.jpg
Thanks for your help,
Ricardo
--
Ricardo Rodr?guez
Your
2006 May 16
3
multiple plots in a function()
Dear all,
I have the following problem:
I have written a function genereating to plots, eg
myfunction <- (data, some.parameters) {
#some calculations etc
.
par (mfrow=c(1,2))
plot1(......)
plot2(.....)
}
which works fine. But for analysing several variants, I tried a slope, eg:
par (mfrow=c(5,5))
for ( i in 1:10) {
myfunction(data, i)
}
Off