Displaying 18 results from an estimated 18 matches for "natemiller77".
2011 Oct 21
2
Calculating difference between values in data frame based on separate column
Hi all,
Say I have a data frame something like the one below with different sample
vials, measured before(B) and after(A) some process, with a value recorded
at each measurement point
vial measure value
1 B 26
1 A 12
2 B 45
2 A 30
3 B 32
3 A 27
4 B
2011 Sep 07
2
ggplot2-Issue placing error bars behind data points
Hi all,
This seems like a basic problem, but no amount of playing with the code has
solved it. I have a time-series data set like that shown below (only longer)
and am seeking to plot the data with filled, circular points and error bars.
I would like the error bars to be behind the points otherwise they tend to
obscure the points (especially when I have a lot of points in the actual
data set).
2010 Nov 22
1
Wait for user input with readline()
Hello,
I am trying write a script that includes a prompt for user input using
readlines(). I am running into the problem that when I run readlines() as a
single line the prompt works perfectly, but when I try to run a block of
code which includes the readline function, the script doesn't wait for the
user input. I have seen this question posted before when I did a search, but
I didn't
2011 Aug 23
3
Linear Regression with 2 grouping variables
Hi all,
I have a data set that looks a bit like this.
feed1
RFU Site Vial Time lnRFU
1 44448 1 1 10 10.702075
2 47521 1 1 20 10.768927
3 42905 1 1 30 10.66674
4 46867 1 1 40 10.755069
5 42995 1 1 50 10.668839
6 43074 1 1 60 10.670675
7 41195 1 1 70 10.626072
8 47090 1 2 10 10.759816
9 48100 1
2013 Jan 28
1
Adding 95% contours around scatterplot points with ggplot2
Hi all,
I have been looking for means of add a contour around some points in a
scatterplot as a means of representing the center of density for of the
data. I'm imagining something like a 95% confidence estimate drawn around
the data.
So far I have found some code for drawing polygons around the data. These
look nice, but in some cases the polygons are strongly influenced by
outlying points.
2010 Nov 16
1
Batch Processing Files
Hi All!
I have some experience with R, but less experience writing scripts using
R and have run into a challenge that I hope someone can help me with.
I have multiple .csv files of data each with the same 3 columns of
data, but potentially of varying lengths (some data files are from short
measurements, others from longer ones). One file for example might look
like this...
Time, O2_conc,
2010 Dec 17
1
ggplot missing fill colours in boxplot legend
Hello,
I am trying to create a series of boxplots with the following data, three
columns, "Day" (1 or 2), "Site" (1-4), and "VO2" (some values missing for
some Sites or Days)
> CorbulaMR3
Day Site VO2
1 1 1 88.92223
2 1 1 86.17873
3 1 1 61.08950
4 1 1 190.47922
5 1 1 98.65930
6 1 1 121.03549
7 1 1 67.88404
8
2011 Jan 21
1
ggplot boxplot
Hello,
I am trying to generate a set of boxplots using ggplot with the following
data with 4 columns (Day, Site, VO2, Cruise)
AllCorbulaMR
Day Site VO2 Cruise
1 1 1 148.43632670 1
2 1 1 61.73864969 1
3 1 1 92.64536096 1
4 1 1 73.35434957 1
5 1 1 69.85568810 1
6 1 1 98.71116866 1
7 1 1 67.57880107
2011 Oct 20
1
Applying function with separate dataframe (calibration file) supplying some inputs
Hello,
I am not entirely sure the subject line captures what I am trying to do, but
hopefully this description of the problem will help folks to see my
challenge and hopefully offer constructive assistance.
I have an experimental setup where I measure the decrease in oxygen in small
vials as an organism, such as an oyster, consumes the oxygen. Each vial is
calibrated before the experiment and
2012 Dec 13
2
More efficient use of reshape?
Hi all,
I have played a bit with the "reshape" package and function along with
"melt" and "cast", but I feel I still don't have a good handle on how to
use them efficiently. Below I have included a application of "reshape" that
is rather clunky and I'm hoping someone can offer advice on how to use
reshape (or melt/cast) more efficiently.
#For this
2012 Jul 23
2
drop1, 2-way Unbalanced ANOVA
Hi all,
I've spent quite a lot of time searching through the help lists and reading
about how best to run perform a 2-way ANOVA with unbalanced data. I realize
this has been covered a great deal so I was trying to avoid adding yet
another entry to the long list considering the use of different SS, etc.
Unfortunately, I have come to the point where I feel I have to wade in and
see if someone
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...les at autobox.com to hear more.
Tom
--
View this message in context:
http://r.789695.n4.nabble.com/arima-tp2993543p3054206.html
Sent from the R help mailing list archive at Nabble.com.
------------------------------
Message: 62
Date: Mon, 22 Nov 2010 11:13:13 -0800
From: Nathan Miller <natemiller77 at gmail.com>
To: r-help at r-project.org
Subject: [R] Wait for user input with readline()
Message-ID:
<AANLkTik-U6f+OXv3M=C11+3D7168PwPe1SN6rHcYN5Vv at mail.gmail.com>
Content-Type: text/plain
Hello,
I am trying write a script that includes a prompt for user input using
readlines(). I...
2011 Nov 09
1
ggplot stat_summary (mean_cl_boot)
Hello,
This is a pretty simple question, but after spending quite a bit of time
looking at "Hmisc" and using Google, I can't find the answer.
If I use stat_summary(fun.data="mean_cl_boot") in ggplot to generate 95%
confidence intervals, how many bootstrap iterations are preformed by
default? Can this be changed? I would at least like to be able to report
the number of
2012 Nov 03
1
Violin plot of categorical/binned data
Hi,
I'm trying to create a plot showing the density distribution of some
shipping data. I like the look of violin plots, but my data is not
continuous but rather binned and I want to make sure its binned nature (not
smooth) is apparent in the final plot. So for example, I have the number of
individuals per vessel, but rather than having the actual number of
individuals I have data in the
2010 Dec 23
1
Finding flat-topped "peaks" in simple data set
Hello,
Thank you to all those great folks that have helped me in the past
(especially Dennis Murphy).
I have a new challenge. I often generate time-series data sets that look
like the one below, with a variable ("Phase") which has a series of
flat-topped peaks (sample data below with 5 "peaks"). I would like to
calculate the phase value for each peak. It would be great to
2013 Mar 13
1
Determining maximum hourly slope per day
Hello,
I have a challenge!
I have a large dataset with three columns, "date","temp", "location".
"date" is in the format %m/%d/%y %H:%M, with a "temp" recorded every 10
minutes. These temperatures of surface temperatures and so fluctuate during
the day, heating up and then cooling down, so the data is a series of peaks
and troughs. I would like
2010 Nov 22
4
Wait for user input with readline()
Hello,
I am trying write a script that includes a prompt for user input using
readlines() and was told that folks at R-devel might be able to help.
I am running into the problem that when I run readlines() as a single line
the prompt works perfectly, but when I try to run a block of code which
includes the readline function, the script doesn't wait for the user input.
I have seen this
2010 Dec 28
3
Error in combined for() and if() code
Hello,
I am trying to filter a data set like below so that the peaks in the Phase
value are more obvious and can be identified by a peak finding function
following the useful advise of Carl Witthoft. I have written the following
for(i in length(data$Phase)){
newphase=if(abs(data$Phase[i+1]-data$Phase[i])>6){
data$Phase[i+1]
}else{data$Phase[i]
}
}
I get the following error which I have not