Displaying 20 results from an estimated 600 matches similar to: "AW: ungrouping grouped data"
2003 Sep 25
3
ungrouping grouped data
I'm sure this is probably simple, but I can't find an answer...
I have a data frame (Galton's data on heights of parents and children),
in grouped form,
parent child frequency
73.5 72.2 1
73.5 73.2 3
72.5 68.2 1
72.5 69.2 2
72.5 70.2 1
72.5 71.2 2
72.5 72.2 7
72.5 73.2 2
72.5 74.2 4
71.5 65.2 1
71.5 66.2 3
71.5 67.2 4
71.5 68.2 3
71.5 69.2 5
71.5 70.2 10
...
and need the ungrouped
2004 Feb 20
3
problem with abline for x.y
I'm trying to do a sunflowerplot of Galton's data, with both regression
lines and data ellipses,
and I must be doing something wrong, because the lines do not intersect
at \bar{x}, \bar{y}.
The problem is likely in the line for x.y, but I don't know how to
specify that correctly.
The data is read in grouped form( galton), and then ungrouped (galton2):
galton <-
2006 Apr 17
0
Problem getting R's decision tree for Quinlan's golf exam ple data [Broadcast]
See ?rpart.control. I get:
> golf.rp = rpart(Outlook ~ ., golf, control=rpart.control(minsplit=1))
> golf.rp
n= 14
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 14 9 rain (0.2857143 0.3571429 0.3571429)
2) Temperature< 71.5 6 2 rain (0.1666667 0.6666667 0.1666667)
4) Temperature< 64.5 1 0 overcast (1.0000000 0.0000000 0.0000000) *
5)
2013 Jul 18
1
Bland Altman summary stats for all column combinations
Hello,
I have the following data.frame
structure(list(Study = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L,
8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 1L,
2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L,
16L, 17L, 18L, 19L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L,
11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 1L, 2L, 3L, 4L,
5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L,
2012 Nov 14
2
aggrete data from combination
Dear R users,
A have a dataframe (matrix) with two collumns (plot, and diameter (d)). I
want all diameters values for different combination of plots.
For example I want all d values for all posible combination, 100C2 (all d
values for plot 1 with all d values in the plot 2.......with all d values
from plot 1 with all d values from plot 100, ...... with all d values from
plot 99 with all d values
2016 Apr 15
0
aggregate combination data
Hello,
I'm cc'ing R-Help.
Sorry but your question was asked 3.5 years ago, I really don't
remember it. Can you please post a question to R-Help, with a
reproducible example that describes your problem?
Rui Barradas
?
Citando catalin roibu <catalinroibu at gmail.com>:
> Dear Rui,
> ?
> I helped me some time ago with a code..... regarding aggregated data
>
2007 Oct 18
5
vector graphics/ ungroup and edit in CorelDraw
System:
Linux kernel 2.6.15 Ubuntu dapper
R version 2.5.1
ESS 5.2.11 on Emacs 21.4.1
-------------------------
Colleagues
Having read the posts on producing perfect graphs in R, or using
inkscape to edit R graphics output, I have a related question.
Lately I am publishing in a journal that is very picky about their
graphics formats. It is more efficient for me to get the final picky
details
2012 Jan 08
1
how to combine grouped data and ungrouped data in a trellis xyplot
I'm hoping the community knowledge can help me out here. I have found great
value in R, especially using it to generate charts, but I am still scaling
the learning curve in a number of ways.
I am looking plot one grouped line and one ungrouped line in a lattice plot.
I can plot one grouped line like this (the line's color in each panel
becomes dependent on the newpool value):
2012 Jul 20
2
Changing ungrouped cases to grouped cases
Hi,
I have my data the following way:
y A B C
0 1 1 2
0 1 2 1
1 1 1 2
0 1 1 2
1 1 1 2
1 1 2 1
0 1 2 2
.
.
.
And so on. How can I make my data look like the following:
y A B C
2 1 1 2
1 1 2 1
0 1 2 2
.
.
.
In other words how can I change my ungrouped cases into grouped cases?
Thanks!
Chris
[[alternative
2015 Oct 21
3
RFC: Improving license & patent issues in the LLVM community
On Oct 19, 2015, at 10:53 AM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
>>>> 2) We could require new contributors to sign the Apache CLA.
>>>
>>> To me, this is the most acceptable option of the listed terms.
>>
>> Please explain: why?
>
> First part for me is that switching the code to a different license
> doesn't
2004 Dec 20
2
Producing "Editable" Graphs for PowerPoint
Hello,
(apologies, I'm not entirely sure whether this question is about R or my
limitations with PowerPoint). I've submitted a paper (which has been
accepted) but the journal now require me to submit graphs that are
"editable in PowerPoint". I would be grateful for suggestions as to
how I should do this.
The best route seems to be to copy-and-paste the figures from the
2004 Jun 29
0
discrete hazard rate analysis
Dear R users,
I have more of a statistical/econometric question than straight R one.
I have a data set with the discrete hazard rate of small firms survival on
400 counties over a period of 9 years. This data was generated using census
information from the VAT registration number of each one of these business.
I would like to analyze the effect of regional factors (deprivation index,
real
1998 Nov 28
1
No subject
Dear Friends,
Yesterday I posed a question to the list concerning the possibility of doing
animation examples in R. Here is an example S-Plus (4.5 for Windows ) that
I wrote to illustrate my problem. If I try this in R (comment out the
graphsheet and guilocator calls) I don't see my results until after the
function has iterated through the 100 trials. I would like to plot each
iteration.
2014 May 13
1
Performance tests of the current version (git-b1b6caf)
Current sources (git-b1b6caf) were compiled with GCC 4.8.2 and GCC 4.9.0
with various -msseN options (the default is -msse2). Then I took two WAV
files (one is 16-bit and the other is 24-bit) and compressed them using
best compression mode. The results are in the table below.
(please remember that the resulting value is an encoding time, not encoding speed)
CPU: Intel Core i7 950 (up to SSE4.2)
2015 Oct 19
3
RFC: Improving license & patent issues in the LLVM community
I really really do not like armchair lawyer discussions and this is
just flamebait if I've ever seen it...
---------------
#1 Is the submarine patent risk really that bad? (What's driving this)
#2 Pragmatically have "you" even considered how to execute on this
relicense plan?
a. What if one of the copyright holders doesn't agree?
b. What audit procedure do you plan to use
c.
2006 Jul 29
0
Help with clogit in survival - conditional logistic regression
Dear All:
I have been struggling to run the conditional logistic regression on a
dataset. I am using clogit function in survival package. Here is how the
data is generated. I tried to shorted the data by using the second count
variable but still the clogit did not run. Why I am not able to run clogit
on my dataset. I appreciate any input.
Regards,
Ashraf
age <- c(rep(0,8),rep(1,8))
scc <-
2010 Jun 01
1
arrange data
Hi r-users,
I have a data below but I would like to rearrange my data so that it will be in the following format: year, month, day, rain. I also would like the data to be arranged so that it will be continues for example year 1939 it will go from january 1 to december 31 and continue with year 1940 from january 1st to 31st December and so on. What I have now is all january for all the years
2009 Apr 29
0
estimate alpha beta for gamma
Hi R-users,
I'm not sure what's wrong and how do I check the error?
I have 3 sets of data
> aug_dt1
[1] 22.8 49.6 77.9 67.6 91.2 48.9 124.6 54.6 85.8 62.8 63.3 174.7 32.3 22.7 99.9 123.2 4.8 149.0 66.0
[20] 73.9 37.4 22.4 69.5 87.3 66.9 87.2 81.5 109.1 47.4 22.8 92.4 60.9 77.5 91.3 91.9 78.2 39.4 107.5
[39] 57.9 65.5 76.0 47.2 145.5 95.9 106.0
2009 May 01
0
need help - small code
Hi R-users,
I would like to transform my data using gamma, my data are ahll, bhall and dp1 as shown below:
> ahall
ah1 ah2 ah3 ah4 ah5 ah6 ah7 ah8 ah9 ah10 ah11 ah12
[1,] 0.9 1.01 1.24 1.85 1.85 2.45 3.67 3.02 3.06 2.33 1.86 0.96
> bhall
bh1 bh2 bh3 bh4 bh5 bh6 bh7 bh8 bh9 bh10 bh11 bh12
[1,] 48.39 44.26 37.34 29.93 33.5 26.54 20.26 25.73 20.14
2004 Apr 06
0
Curious about nomenclature: random deviates
< Does anyone know why they're called random deviates, as opposed to random
numbers?>
Others will probably give you some technical reason about random numbers can
be considered as random deviates from a mean (I think at least the 1875
Galton paper at http://www.mugu.com/galton/ uses similar terminology (I'm
not claiming this is the earliest use - just the easiest to access at the