t: Re: [R] Table rearranging
> Date: Tue, 7 Feb 2012 21:51:55 -0500
>
>
> On Feb 7, 2012, at 8:43 PM, Jeffrey Joh wrote:
>
> >
> > Hi David, I am not sure how ddply/summarize solves my issue. I have
> > the following table:
> >
> > ID measurement date door co
Table rearranging
> Date: Tue, 7 Feb 2012 09:08:00 -0500
>
>
> On Feb 7, 2012, at 4:21 AM, Jeffrey Joh wrote:
>
> >
> > Thank you for your help, Bill.
> >
> >> From the original table (not the plyr output), I would like to
> >> remove all the lines t
; Spotfire, TIBCO Software
> wdunlap tibco.com
>
> > -Original Message-
> > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> > Behalf Of Jeffrey Joh
> > Sent: Monday, February 06, 2012 4:28 PM
> > To: r-help@r-project.org
I have a table that looks like this:
measurement date door color
0.93529385 513 open red
0.97419293 420 open red
0.962053514 513 closed red
0.963909937 1230 open blue
0.97652034 1230 open green
0.989310795 1230 closed blue
0.9941022
The gray (level) function returns different shades of gray, where level is a
vector of numbers ranging from 0 to 1. 0 is white and 1 is black and
everything in between is a shade of gray.
Is there a function that will let me choose two different colors? For example,
a 0 might be blue and 1 m
I have a text file with states and numbers. I would like to display each
number that corresponds to a state on a map.
I am trying to use the maps package, but it doesn't show Alaska or Hawaii. Do
you have suggestions on how to do this?
Jeffrey
For each date, I would like to keep the line with the lowest speed and discard
the rest. The result would have one line for each date. Can I use aggregate
for this?
My table is as follows:
structure(list(speed = c(3,9,14,8,7,6), result = c(0.697, 0.011, 0.015, 0.012,
0.018, 0.019), house
05 +1100
> From: j...@bitwrit.com.au
> To: johjeff...@hotmail.com
> CC: r-help@r-project.org
> Subject: Re: [R] Binned line plot
>
> On 11/22/2011 04:29 PM, Jeffrey Joh wrote:
> >
> > I have a scatter plot with 1 points. I would like to add a line that
> > bins eve
I have a scatter plot with 1 points. I would like to add a line that bins
every 50 points and connects the average of each bin. I'm looking for
something similar to line type "m" in Stata.
With this dataset of 1 points, I would also like to bin the data and make
boxplots at certain i
I have a table that looks like this:
structure(list(speed = c(3,9,14,8,7,6), result = c(0.697, 0.011, 0.015, 0.012,
0.018, 0.019), house = c(1,
1, 1, 1, 1, 1), date = c(719, 1027, 1027, 1027, 1030, 1030),
id = c("1000", "1",
"10001", "10002", "10003", "10004")), .Names = c("speed"
1030 11 10003 6 0.019 -0.001
> 6 6 0.019 1 1030 11 10004 6 0.019 0.000
>
> HTH,
> Dennis
>
> On Thu, Oct 20, 2011 at 2:56 PM, Jeffrey Joh wrote:
> >
> > I have a table that looks like this:
> >
> > structure(list(speed = c(3,9,4,8,7,6), C = c(0.697, 0.011,
I have a table that looks like this:
structure(list(speed = c(3,9,4,8,7,6), C = c(0.697, 0.011, 0.015, 0.012, 0.018,
0.019), house = c(1,
1, 1, 1, 1, 1), date = c(719, 1027, 1027, 1027, 1030, 1030),
hour = c(18, 8, 8, 8, 11, 11), id = c("1000", "1",
"10001", "10002", "10003", "100
I have a data frame that is about 40 columns by 1 rows. I want to get the
dput of small portion of that by using dput(results[1:10,3:6]). The dput is
very long and includes all the values from the original data frame. Why is
that?
Jeffrey
__
Is it possible to smooth an ecdf plot and get a probability density plot? I
have about 8000 points and I was hoping to get a density curve instead of a
histogram.
Jeff
__
R-help@r-project.org mailing list
htt
xample (baseball)
> where groupwise plots are produced. (Don't actually run the example
> unless you're willing to wait for 1100+ ggplots to be rendered :)
>
> If memory serves, you should also be able to produce graphics for each
> data subset using the data.table package a
I aggregated my data: aggresults <-aggregate(results, by=list(results$a,
results$b, results$c), FUN=mean, na.rm=TRUE)
results has about 8000 lines of data, and aggresults has about 80 lines. I
would like to create a separate variable for each of the 80 aggregates, each
containing the 100
I have a matrix that looks like this:
structure(c("0.0376673981759913", "0.111066500741386", "1", "1103",
"18", "OPEN", "DEPR", "0.0404073656092023", "0.115186044704599",
"1", "719", "18", "OPEN", "DEPR", "0.0665342096693433", "0.197570061769498",
"1", "1103", "18", "OPEN", "DEPR", "0.1192871
I have the following:
Tout = c(".", ".",
+ "-51.0", " -9.6", " -9.6", " -9.6", " -9.6", " -9.6", " -9.6",
+ " -9.6", " -9.5", " -9.5", " -9.6", " -9.5", " -9.6", " -9.6",
+ " -9.5", " -9.4", " -9.3", " -9.3", " -9.3", " -9.2", " -9.0",
+ " -9.0", " -8.9", " -8.9", " -8.9")
How ca
11:45:21 -0400
>
>
> On Jul 30, 2011, at 2:25 AM, Jeffrey Joh wrote:
> >
> > I would like to reorder a two-column table by column A, then fill
> > column B with the values above it. For example: Original:A B2
> > 545 NA8 784 NULL3 269 NULL First
I would like to reorder a two-column table by column A, then fill column B with
the values above it. For example: Original:A B2 545 NA8 784 NULL3
269 NULL First sort by column A:A B2 543 264 NULL5 NA8
789 NULL Then replace null/na values in column B
Dear All,
I have made a scatter plot and placed a plane within it using scatterplot3d.
However, I have been asked for the data points to be a surface plot or have
the plane more closely resemble the data rather than show trends.
I have since tried to use the rgl package. Why doesn't this package
Thank you Barry
--
View this message in context:
http://r.789695.n4.nabble.com/Reading-in-aux-ESRI-raster-files-into-R-tp2553544p2715015.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.et
Dear All,
I'v tried to read in data in numerous ways including:-
Spain10km<-data.frame(readAsciiGrid("F://RMap//sp10kpointid1.aux"))
Error in readAsciiGrid("F://RMap//sp10kpointid1.aux") :
object 'cellsize' not found
In addition: Warning message:
In readLines(t, n = 6) :
incomplete final lin
23 matches
Mail list logo