similar to: Preparing data for display

Displaying 20 results from an estimated 11000 matches similar to: "Preparing data for display"

2010 Apr 09
2
How to use tapply for quantile
I am trying to calculate quantiles of a data frame column split up by two factors: # Calculate the quantiles quarts = tapply(gdf$tt, list(gdf$Runway, gdf$OnHour), FUN=quantile, na.rm = TRUE) This does not work: > quarts 04L 04R 15R 22L 22R 27 32 33L 33R 0 NULL Numeric,5 NULL Numeric,5 NULL Numeric,5 NULL Numeric,5 NULL 1 NULL
2008 Jun 13
2
Quartile regression question
I have data that looks like lake,loglength,logweight 1,2.369215857,1.929418926 1,2.426511261,2.230448921 1,2.434568904,2.298853076 1,2.437750563,2.298853076 1,2.442479769,2.230448921 1,2.445604203,2.356025857 ... 102,2.722633923,3.310268367 102,2.781755375,3.502153893 102,2.836324116,3.683407299 102,2.802773725,3.583312152 102,2.790285164,3.546419267 102,2.806179974,3.599118565
2011 Jun 02
2
shading in overlap between two ranges
I have 2 datafiles 'target' and 'observed' as shown below (I will gladly email these 2 small files to whomever). X25. And X75. Indicate the value of 25th and 75th-percentile of the target ('what should be') and the observed ('what is'). The i.value is simply the month. > target X i.value X25. X75. 1 one.month 1 10.845225 17.87237 2
2004 Apr 26
2
Looking for help in calculating percentiles
Hi All: I am working with a dataset on Arsenic toxicity, and I am trying to calculate the 20th, 40th, 60th, 80th, and highest percentiles for a variable, dietary Moisture (variable name dMoist). The inbuilt function quantile(dMoist) would print 0, 25th, 50th, 75th, and 100th percentile. Does there exist a function that can calculate xth percentile (where x = 10th, 20th, ... etc) values?
2004 Apr 26
0
AW: Looking for help in calculating percentiles
Type e.g.: quantile(x,0.1) or Quantile(x,0.8) Which calculates the 10th and 80th quantile Matthias Templ -----Urspr??ngliche Nachricht----- Von: arinbasu at softhome.net [mailto:arinbasu at softhome.net] Gesendet: Montag, 26. April 2004 09:29 An: r-help at stat.math.ethz.ch Betreff: [R] Looking for help in calculating percentiles Hi All: I am working with a dataset on Arsenic toxicity,
2003 Feb 24
3
bwplot stats question
Hi List, Just wondering where the documentation exists for the statistics which makeup the bwplot. I'm guessing that if R is like similar products that the graph is constructed as The median is the filled circle. The box surrounding the filled circle depicts the 25th and 75th quartile. The range of values is given by the dotted lines (?whiskers?) outside of each box, and possible
2008 Jan 31
1
how to customize boxplot
Dear List, I'd like to make boxplots of a large number of observations (+/- 20.000), which are distributed log-normal and right skewed. The problem is that with standard boxplots a too large number of observations are displayed as outliers. I also tried to display the log of the observations, but even then there are to may outliers to my taste. So I'd like to change the standard IQR box
2004 Sep 01
1
AW: Looking for help in calculating percentiles
How do I calculate the 95th percentile when I know the 25th, the median and the 75th?? Thanks, Harmony Tenney [[alternative HTML version deleted]]
2011 Mar 27
1
Bootstrap 95% confidence intervals for splines
There appear to be reports in the literature that transform continuous independent variablea by the use of splines, e.g., assume the dependent variable is hot dogs eaten per week (HD) and the independent variable is waistline (WL), a normal linear regression model would be: nonconfusing_regression <- lm(HD ~ WL) One might use a spline, confusion_inducing_regression_with_spline <- lm(HD
2004 Apr 06
2
percentile-percentile plot
Hi, Is there a function that does percentile-percentile plot. I do not mean the qqplot. I need to plot the percentiles rather than points themselves. I am hoping for a plot that tells me that the x percentile of one data set corresponds to the y percentile of the other. for example a point on the plot of (.5, .2) will tell me that the 50th percentile of the first data and the 20th percentile of
2001 Nov 25
2
Boxplots using percentiles?
The standard R boxplot appears to use quartiles to determine the height of the rectangles and a range parameter - RNG - (default=1.5 I think) that determines the length of the whiskers as <= RNG x Interquartile Range. Is it possible to instead define the range as extending to the 95th percentile? If so, how would this be done? nb, I'm plotting multiple boxplots on a single chart so a
2010 Jan 28
2
Print lattice output to table?
I have beautiful box and whisker charts formatted with lattice, which is obviously calculating summary statistics internally in order to draw the charts. Is there a way to dump the associated summary tables that are being used to generate the charts? Realize I could use tapply or such to get something similar, but I have all the groupings and such already configured to generate the charts. Simply
2008 Nov 29
2
Using grep() to subset lines of text
I have two vectors, a and b. b is a text file. I want to find in b those elements of a which occur at the beginning of the line in b. I have the following code, but it only returns a value for the first value in a, but I want both. Any ideas please. a = c(2,3) b = NULL b[1] = "aaa 2 aaa" b[2] = "2 aaa" b[3] = "3 aaa" b[4] = "aaa 3 aaa"
2002 Jun 05
1
How to put values of 25 and 75 percentile on boxplot?
Hi all, One quick question: How to put values of 25 and 75 percentile on boxplot? Thanks in advance. Nianqing Xiao, Ph.D NCI Center for Bioinformatics, NIH SAIC/Advanced Systems Group > 6116 EXECUTIVE BLVD 4026J > MSC 8335 > BETHESDA MD 20852 Phone: 301-451-6357 Fax: 301-480-4222 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list --
2009 Feb 17
2
cumsum vs. sum
I recently traced a bug of mine to the fact that cumsum(s)[length(s)] is not always exactly equal to sum(s). For example, x<-1/(12:14) sum(x) - cumsum(x)[3] => 2.8e-17 Floating-point addition is of course not exact, and in particular is not associative, so there are various possible reasons for this. Perhaps sum uses clever summing tricks to get more accurate results? In some
2012 Jun 20
2
Odds Ratios in rms package
Hi, I'm using the rms package to do regression analysis using the lrm function. Retrieving odds ratios is possible using summary.rms. However, I could not find any information on how exactly the odds ratios for continuous variables are calculated. It doesn't appear to be the odds ratio at 1 unit increase, because the output of summary.rms did not match the coefficient's value. E.g.
2020 Oct 22
0
3d plot of earth with cut
On 21/10/2020 8:45 a.m., Balint Radics wrote: > Hello, > > Could someone suggest a package/way to make a 3D raster plot of the Earth > (with continent boundaries), and then make a "cut" or "slice" of it such > that one can also visualize some scalar quantity as a function of the > Radius/Depth across that given slice ? > > Formally, I would have a
2004 Feb 18
2
Area between CDFs
Dear List: I am trying to find the area between two ECDFs. I am examining the gap in performance between two groups, males and females on a student achievement test in math, which is a continuous metric. I start by creating a subset of the dataframe male<-subset(datafile, female="Male") female<-subset(datafile, female="Female") I then plot the two CDFs via
2009 May 20
2
Class for time of day?
What is the recommended class for time of day (independent of calendar date)? And what is the recommended way to get the time of day from a POSIXct object? (Not a string representation, but a computable representation.) I have looked in the man page for DateTimeClasses, in the Time Series Analysis Task View and in Spector's Data Manipulation book but haven't found these. Clearly I can
2020 Oct 21
6
3d plot of earth with cut
Hello, Could someone suggest a package/way to make a 3D raster plot of the Earth (with continent boundaries), and then make a "cut" or "slice" of it such that one can also visualize some scalar quantity as a function of the Radius/Depth across that given slice ? Formally, I would have a given, fixed longitude, and a list of vectors {latitude, radius, Value} that would show