Displaying 20 results from an estimated 6000 matches similar to: "Splitting Data by Row"
2009 Mar 13
5
Selecting / creating unique colours for behavioural / transitional data
Dear all,
This seems like a simple problem but i've searched the help files and tried
various options but failed, so apologies in advance for asking what i'm sure
is an easy thing to do!
In short, I have displayed behavioural data using the TraMineR package such
that there is a colour change between the transition of behaviours, however,
all the methods that i have used thus far have
2008 Jul 28
1
Interpolating a line and then summing there values for a diurnal oxygen curve (zoo object)
#I would like to interpolate a straight line between 06/08/06 04:16:00 -
06/08/06 20:31:00 with values and then sum them. This is an estimate of
ecosystem #respiration and I will be using this in a larger context(48 days
of these diurnal curves), but for right now I am just trying to figure out
how to do it for this one #day example. I have some other code for
Ecosystem (stream) Metabolism that
2009 Apr 10
2
Plot legend
Dear All-
I am trying to create a legend where the first 9 terms are represented as pch=16 in one column (which I am able to do); but, I would like the last two terms in that column to be 'lines" (which are black and red - just as it looks like in the plot). I have read through many help pages and searched the help listserv, but haven't figured this one out yet. Does anyone have
2008 Jul 24
1
time zone - best way to shift hours
I frequently work with hourly data in GMT format, and ensure that any data I
read into R are expressed in GMT through as.POSIXct(mydate, tz = "GMT").
I am interested in processing air pollution data in GMT where where peaks in
emissions (say from road traffic sources) tend to occur at the same LOCAL
time each day. I am interested in calculating mean concentrations by hour
of day i.e.
2007 Sep 28
2
plot graph with error bars trouble
Hi,
I have a data set like this:
Mutant Rep Time OD
02H02 1 0 0.029
02H02 2 0 0.029
02H02 3 0 0.023
02H02 1 8 0.655
02H02 2 8 0.615
02H02 3 8 0.557
02H02 1 12 1.776
02H02 2 12 1.859
02H02 3 12 1.668
02H02 1 16 3.379
02H02 2 16 3.726
02H02 3 16 3.367
306 1 0 0.033
306 2
2010 Feb 22
1
plotrix 2.8-3
Hi all,
I'm announcing this version of plotrix because I have made a couple of
changes that will affect users. Although the function that used to be
known as hierobarp is fairly new, there may be some users who are
surprised when they find that it has changed its name to barNest. I will
probably rename the two functions hierobarp.svymean and
hierobarp.svyprop in the next version to
2007 May 01
2
Polar graph of time and tide
I have been trying to visualize times of lowest tides, month by month.
I have tide predictions with times either in unix time or a text
format, and heights in feet or meters. I had been able to derive the
clock times of each prediction. I would now like to graph this data
with points showing heights as "r" and times as "theta", from 0000 to
2355. There is a seasonal
2009 Jul 24
1
how to calculate growth rate of a variable
Dear R Users,
If a variable, say CO2(ppm), is varying with time. Then how to calculate CO2
(ppm) growth rate /a-1
I have CO2 time series (1991-2000), as:
time, year, month, day, hour, min, sec, lat, long, height, CO2
1991.476722 1991 6 24 0 5 0 -38.93 145.15 4270 353.680
1991.476741 1991 6 24 0 15 0 -39.20 145.22 4270 353.950
1991.476747 1991 6 24 0 18 0 -39.43 145.28 4270 353.510
2009 May 27
3
Labeling barplot bars by multiple factors
I want to plot quantitative data as a function of three two-level factors.
How do I group the bars on a barplot by level through labeling and spacing?
Here <http://www.thomaslevine.org/sample_multiple-factor_barplot.png>'s what
I'm thinking of. Also, I'm pretty sure that I want a barplot, but there may
be something better.
Tom
[[alternative HTML version deleted]]
2008 Mar 11
4
Graphing question (multiple line graphs arranged spatially)
station month bas
190 5 0.000
190 7 1.563
190 10 0.000
190 11 0.000
202 4 18.750
202 5 18.750
202 7 6.250
202 10 4.800
202 11 3.125
198 4 18.750
198 5 31.250
198 7 3.125
198 10 3.200
198 11 12.500
205 4 0.000
205 5 0.000
205 7 0.000
How to plot 2 continous variables on double y-axis with 2 factors: ggplot2, gplot, lattice, sciplot?
2013 Feb 25
3
How to plot 2 continous variables on double y-axis with 2 factors: ggplot2, gplot, lattice, sciplot?
Hi,
I have a data set with two continous variables that I want to plot MEANS (I
am not intrerested in median values) on a double-y graph. I also have 2
factors. I want the factor combinations plotted in different panes.
Dummy dataset:
mydata <- data.frame(factor1 = factor(rep(LETTERS[1:3], each = 40)),
factor2 = factor(rep(c(1:4), each = 10)),
y1 =
2008 Aug 08
2
aggregate
Dear All-
I have a dataset that is comprised of the following:
doy yr mon day hr hgt1 hgt2 hgt3 co21 co22 co23 sig1 sig2 sig3 dif flag
244.02083 2005 09 01 00 2.6 9.5 17.8 375.665 373.737 373.227 3.698 1.107
0.963 -0.509 PRE
244.0625 2005 09 01 01 2.6 9.5 17.8 393.66 384.773 379.466 15.336 11.033
5.76 -5.307 PRE
244.10417 2005 09 01 02 2.6 9.5 17.8 411.162 397.866 387.755 6.835 5.61
6.728
2009 Jul 30
4
edit.row.names taking row names from the edited dataframe
Hi all,
I am struggling to work out how to use the rownames from an edited dataframe
rather than the row names from the original dataframe. In my data set i'm
trying to extract several rows of data on particular individuals, i don't
doubt i'm using the long way round but what i have in the way of a script is
this:
##selecting the IDs from the dataframe individually
2009 Nov 03
2
Plotting an interaction with error bars
Hello.
I need to plot a two-way interaction (5 levels X 3) with error bars.
The x.factor will be the five-levels var and the trace.factor will be
the three level var.
I was able to find functions that draw error bars, but still couldn't
find a way to draw an interaction plot that looks like what is common
in psychological (and related) journals: the lines (three in my need)
are plotted in
2008 Apr 21
3
means and variances of several groups in the matrix
Dear R users,
I have 32 observations in data x. After sorting this, I want to compute
means and variances of 3 groups divided by "nr".
Actually, the number of groups is flexible. Any suggestion will be greatly
appreciated.
Kathryn Lord
---------------------------------------------------------------------------
x=rnorm(32)
y=sort(x)
nr=matrix(c(12,11,10,10,10,11),2,3)
> nr
2009 Aug 20
3
categorized barplot
Dear useRs,
I can't seem to find out how to categorize my histogram.
I have the following dataset:
Time??????????? First.day? Second.day
08:00-10:00??????? 9?????????? ? 8
10:00-12:00?????? 13???????? ? 15
12:00-14:00??????? 9?????????? ? 9
14:00-16:00???????10????????? ? 9
I attached a jpeg file to this e-mail containing the sketches.
What I'd like to do is a barplot (or histogram),
2010 May 31
2
store and repeat data based on row names (loop, if statement)
Hello fellow R users,
I have an issue that has me a little confused - sorry if the subject makes
little sense, I wasn't sure how to refer to this problem. I have a data set
I've extracted from ArcInfo (a section is shown below). It is spatial data,
showing the distance from one ID to another. I want to get the actual 'TO'
ID from the data set (there is no easy way to do this in
2007 May 24
4
design patterns
Hi everyone
I''m Maximiliano Guzenski from Brazil and I am programing on ruby on rails
only a couple of months.
I read a lot of books and articles about it but I could not clarify some
doubts about design patterns:
1) Is it really good put some sql command on controller? because all
articles that I see use sql into controllers, like:
# my controller
@categories = Category.find
2018 Jun 08
2
C7, encryption, and clevis
> > so if it would work, replace shortname with short and short1?
With all of this hokey-pokey surrounding licensing and mac addresses, I wonder if this outfit is actually still in compliance with the terms of their license for this software, whatever it may be?
If the software licensed to run only on Machine X and Machine X has now been junked and replace by Machine Y, then isn't the
2010 Mar 01
1
Render - Missing Template
Sorry if you have had this problem many times before. I just can''t
seem to find the problem.
I have a budget controller with a create action like this:
def create
# do some things
if budget.save
redirect_to(period_budgets_path(period))
else
@budget = budget
@expense = budget.expense
@period = budget.period
render :action => "new"