Displaying 20 results from an estimated 5000 matches similar to: "Binning data"
2010 Sep 27
2
subtraction based on two groups in a dataframe
Hello
I have a data set like below:
plate.id well.id Group HYB rlt1
1 P1 A1 Control SKOV3hyb 0.190
2 P1 A2 Control SKOV3hyb 0.210
3 P1 A3 Control SKOV3hyb 0.205
4 P1 A4 Control SKOV3hyb 0.206
5 P1 A5 Control SKOV3hyb 0.184
385 P1 A1 ovca SKOV3hyb 0.184
386 P1 A2 ovca SKOV3hyb 0.229
387
2007 Sep 07
3
Plotting lines to sets of points
I am using R to plot baseball spray charts from play-by-play data. I have
used the following command to plot the diamond:
plot (0:250, -250:0, type="n", bg="white")
lines(c(125,150,125,100,125),c(-210,-180,-150,-180,-210), col=c("black"))
I have also plotted different hit locations using commands such as the
following:
points(subset(framename$hit_x,
2009 Jun 04
4
Binning or grouping data
Newbie here. Many apologies in advance for using the incorrect lingo. I'm
new to statistics and VERY new to R.
I'm attempting to "group" or "bin" data together in order to analyze them as
a combined group rather than as discrete set. I'll provide a simple example
of the data for illustrative purposes.
Patient ID | Charges | Age | Race
1 |
2006 Oct 09
2
hello, acts_as_ferret questions, any help greatly appreciate
hi, ive been reading up on ferret, acts_as_ferret, and other search
plugins for rails.
after reading about ferret, i found out about the acts_as_ferrt plugin.
my first question about acts_as_ferret:
1. from reading about ferret, do i still need to manually save the IDX
and add a IDX column field to my model table for acts_as_ferret to work?
they say that acts_as_ferret handles everything,
2008 Jul 06
1
What is my replication unit? Lmer for binary longitudinal data with blocks and two treaments.
First I would like to say thank you for taking the time to read it.Here is my
problem.
I am running a lmer analysis for binary longitudinal (repeated measures)
data.
Basically, I manipulated fruits and vegetation to two levels each(present
and absent) and I am trying to access how these factors affect mice foraging
behavior. The design consist of 12 plots, divided in 3 blocks. So each
block
2012 Oct 03
3
Fastest non-overlapping binning mean function out there?
Hi,
I'm looking for a super-duper fast mean/sum binning implementation
available in R, and before implementing z = binnedMeans(x y) in native
code myself, does any one know of an existing function/package for
this? I'm sure it already exists. So, given data (x,y) and B bins
bx[1] < bx[2] < ... < bx[B] < bx[B+1], I'd like to calculate the
binned means (or sums)
2004 Aug 06
1
OddCast or IceCast screws up extended characters
I'll purposely attach an HTML encoded message in case some of you are using 7-bit ascii readers.
I have a number of songs which use extended ASCII characters in the arist or title such as Màire Brennan - I Láthair Dé. The Current Song in the IceCast status.xsl replaces every extended character plus 1 or 2 characters after it with some strange character. So effectivly shortens the title
2002 Apr 15
1
Nested ANOVA with covariates
Dear All,
I'm rather a beginner on nested ANOVAs, so here goes with my 2
questions;
Qu 1:
I'm modelling the number of galls on a leaf (the response variable) as
a function of;
the tree on which I find the leaf,
the branch on which I find the leaf.
Then, the tree and the branch are both random factors, and I'm quite
happy that I should write;
aov(galls~tree/branch +
2012 Nov 15
2
Adding two different factors to one observation?
In a data frame, I would like to assign two or more factors to one
observation. Is it possible? If so, how?
Example: In the variable $ dishes, there are several levels: "cup",
"plate", "saucer". In my first observation, I see a saucer only. But in
the second one, I see a cup and a saucer. In the third, however, there
is only a cup, in the fourth a plate only and
2011 Jul 08
3
Simple conditional plot
I just started using R last week.
I have a dataset with 3 columns - Plate, Well and Raw
I need to make a simple plot(Well~Raw) but only when Plate = 101
Thanks for your help.
--
View this message in context: http://r.789695.n4.nabble.com/Simple-conditional-plot-tp3654300p3654300.html
Sent from the R help mailing list archive at Nabble.com.
2010 Feb 23
4
First. Last. Data row selection
I am in the process of switching from SAS over to R. I am working on very
large CSV datasets that contain vehicle information. As I am processing the
data, I need to select the first (or sometimes the second) record (by date)
for any records that have the same license plate number. In SAS, there is a
function called 'first.' that can be used on sorted datasets to pull out
those first
2005 Sep 25
2
change codec based on callerid (sip/iax)
I have been asked if asterisk can change codecs dynamically based on the
calling party's caller id. I couldnt find anything, and dont know that
this is something that asterisk can do, but it occurs to me that
possibly with a reinvite it can be done, however I dont think you can
issue those from the dialplan or agi.
The only solution I can think of on this is to use something like ser
2001 Aug 30
1
GLMMGibbs crashes on seeds data
Hi all
I know GLMMGibbs is still in beta but has anyone experienced (and
solved ;-) this problem?
I decided to look at the seeds example but I get a core dump on two
intel linux boxes and also a sun workstation. All are running R1.3.0
but different hardware/OS's so I think I've done something wrong
> library(GLMMGibbs)
> data(seeds)
> seeds$plate <- as.factor(1:21)
>
2008 Oct 22
1
Question regarding --delete-during/after and backup file cases
A good while ago I asked about difference between --delete-during/delay
and --delete-after, when per-directory files are updated (all is
perfectly clear for me here), but during the discussion there was a hint
made by Wayne, that the outcome can differ in more situations:
" It is useful for things such as --delay-updates --delete-delay (to
have all updates happen more rapidly at the
2011 Mar 14
1
Help- Fitting a Thin Plate Spline
Hi Everyone,
I'm a pretty useless r-er but have data that SPSS etc doesn't like. I've
managed to do GLMs for my data, but now need to fit a thin plate spline for
my data (arcsine.success~date.num:clutch.size)
If anyone has a bit of spare time and could come up with a bit of code I'd
be very grateful- I just don't get R language!
Thanks
Rach
--
View this message in context:
2007 Jun 15
1
A question about logical controls and function arguements
Dear R-help subscribers,
I'm trying to write a function to generate data simulating the image
created by a point radiation source in a plane on a screen where there
is filter with a single circular aperture in it between the source and
the screen.
Following some guides (including Intro to R and some I found online) and
examples I have specified the function (full code below question) with
2007 Sep 14
2
unbalanced effects in aov
Hi, I have been having some trouble using aov to do an anova, probably because I'm not understanding how to use this function correctly. For some reason it always tells me that "Estimated effects may be unbalanced", though I'm not sure what this means. Is the formula I am using written incorrectly? Below is the code I am using along with the data:
> my.data
response
2007 Aug 18
1
shared mailbox subfolder permissions
Hi all,
when I create a subfolder in a public mailbox the dovecot-shared file is
copied for the newly created subfolder and all mails get the owner, group
and permissions from the file. Unfortunately the cur, new and tmp folders
only get the permissions from the file but owner and group are set
according to the creator. This effectivly makes the folder private to the
creator.
Is this the
2011 Jul 08
4
How to label specific points on a scatterplot
Command I am using for the plot:
plot(Raw[][Plate==101]~well[][Plate==101], xlab="Well", ylab="Raw",
main="Plate 101")
I only want to label points on the graph where well equals B13, G13, K14 and
N14 with the name of the well.
Thank you for your help.
--
View this message in context:
2017 Jul 14
2
Efficient Binning
Hi all,
I have a situation where I have 16 bins. I generate a random number and
then want to know which bin number the random number falls in. Right now, I
am using a serious of 16 if() else {} statements which get very complicated
with the embedded curly braces. Is there a more efficient (i.e., easier)
way to go about this?
boundaries<-(0:16)/16
rand<-runif(1)
Which bin number (1:16)