similar to: mean relative differences from all.equal() (PR#9276)

Displaying 20 results from an estimated 6000 matches similar to: "mean relative differences from all.equal() (PR#9276)"

2008 Mar 31
2
convert delimited string to vector
Hi R Users, Simple question: How might I convert the text "a, b, c" (or for that matter "a b c" with any delimiter - space, comma, etc.) into a 3-element character vector? [1] a b c Thanks, Brad
2007 Jul 17
1
data.restore() in R 2.5.1 for Windows 95 and later
To Whom It May Concern: I want to read in an S-PLUS data dump and I used > data.restore("filepath/filename") (in R 2.5.1 for Windows 95 and later) and I get the message Error: could not find function "data.restore" I have also tried read.S() and read.dta() with the same result. I cannot find any of these functions in the R Help for package base, although data.restore()
2007 Sep 10
1
overlay lattice histograms with goodness-of-fit pdfs
Hello, I am new to R exploratory data analysis and plotting. Is anyone aware of a way to overlay a set of conditional histograms with conditional PDFs? Below, I generate a lattice plot of precipitation histograms based on different months and stations, given a subset of the dataset: histogram(~ data | month * station, data = sta.stack[sta.stack[,"type"]=="precip" &
2010 Jan 26
1
add points to 3D plot using p3d {onion}
Hi, Can anyone guide me as to how I can add points to a p3d() plot from the onion package?? I want to plot points with different colors on the same 3D plot.? Perhaps I can do this without adding points but somehow directing the 'h' parameter to give different color to points based on a factor I assign to them? FYI, I can do this using using scatterplot3d() and points3d(), but these plots
2016 Aug 12
2
loosing audio from one end after 5 min.
Hi Is the keep alive activated on the phone? On Thu, Aug 11, 2016, 5:36 PM Dovid Bender <dovid at telecurve.com> wrote: > 1) Does it happen every time at the 5 minute work? > 2) Have you done a dump on the client side to see if the NAT device is > dropping the packets? > 3) Is the phone behind a load balance internet connection and is the RTP > port changing? > > >
2008 May 12
1
problem configuring package udunits
Hi R Users, I am new to running R on a Linux platform (I'm used to Windows) - I'm running R 2.7.0 on Ubuntu 7.10 (Gutsy) as sudo (without Emacs). My architecture is Pentium D (x86_64). I am having problems successsfully configuring the downloaded package 'udunits'. When I execute > install.packages("udunits", lib="/usr/local/lib/R/library") I get the
2016 Aug 11
2
loosing audio from one end after 5 min.
Hi all, Just installed Asterisk 13 on CentOS 7 and have run into a problem. The Scenario is this: Asterisk is on the internet the Phone, a D40, is behind NAT So someone calls the number and Asterisk routes the call to the D40 Everything works fine and the call is established, but then after 5 min. the caller stops getting audio from the D40 but there is still audio to the D40. using both
2007 Nov 27
5
Dtrace probes for voluntary and involuntary context switches
Hi, I am profiling some workloads for the voluntary and involuntary context switches. I am interested in finding out the reasons causing these two types of context switches. As far as I understand, involuntary context switch happens on expiration of time slice or when a higher priority process comes in. While the voluntary switch generally happens when a process is waiting for I/O etc. So to
2017 Oct 04
3
how to prevent files and directories from being deleted?
On Wednesday 04 October 2017 13:39:30 Mark Haney wrote: > I'll end this by saying, I hope the production servers you have don't > provide critical services that could jeopardize the lives of people.? > I'd ask who you work for, to make sure I avoid them at all costs, but > I'm not sure I'd be told. The company I work for, and the livelihood of the hundreds of
2009 Sep 11
1
bar chart with means - using ggplot
Like this? # example using qplot library(ggplot2) meanprice <- tapply(diamonds$price, diamonds$cut, mean);meanprice cut <- factor(levels(diamonds$cut), levels = levels(diamonds$cut)) qplot(cut, meanprice, geom="bar", stat="identity", fill = I("grey50")) dev.new() # create a new graph to compare with qplot # Example using ggplot ggdata <-
2020 Oct 19
2
Is there any way to check the class of an ALTREP?
Benjamin, You happened to send a link which points to the OP's own package :) I think Jiefei would like to know how one can "officially" determine if an arbitrary ALTERP object belongs to a class that he owns. Regards, Denes On 10/19/20 10:22 AM, Benjamin Christoffersen wrote: > It seems as if you can you use the ALTREP macro as done in this > package:
2018 Nov 26
1
Suggestion for `glm.fit`
Dear sirs, One gets unexpected `residuals` if one is not aware of the meaning of weights when a weight is set to zero and the outcome is one in the `binomial` family in a call to `glm.fit`. The reason is the following line from `binomial()$initialize` > y[weights == 0] <- 0 Here is an example: pval <- seq(.05, .95, length.out = 25) X <- log(pval / (1 - pval)) - 2 Y <- c( FALSE,
2009 Apr 26
7
Bumps chart in R
Hi there, I would like to make a 'bumps chart' like the ones described e.g. here: http://junkcharts.typepad.com/junk_charts/bumps_chart/ Purpose: I'd like to plot the proportion of people in select countries living for less then one USD pr day in 1994 and 2004 respectively. I have already constructed a barplot - but I think a bumps chart would be better # The barplot and data
2020 Oct 19
1
Is there any way to check the class of an ALTREP?
Thank Denes for the clarification, glad to see my package got one citation from my own question:) Also, thank Benjamin for sending many useful documents. Actually, the question is related to the SharedObject package that Benjamin has pointed to. I wanna avoid sharing an object that has already been shared, so I need to check whether an object is an ALTREP that is defined in my package. Since the
2009 May 24
2
help with replacing factors
Hi, In the example dataset below - how can I cahnge "gray20", to "blue" # data black <- rep(c("black","red"),10) gray <- rep(c("gray10","gray20"),10) black_gray <- data.frame(black,gray) # none of this desperate things works # replace(black_gray$gray, gray=="gray20","red") #
2009 Apr 21
3
ggplot2 - boxplot of variables / columns
Hi, ggplot/qplot is great - it has really helped me do some nice things. However, simple boxplot of different columns/variables is a bit tricky, because of (i think) qplot's generic Y conditional on X input form. Se below. # Some data: a <- rnorm(100) b <- rnorm(100,1,2) c <- rnorm(100,2,0.5) # normal boxplot of a,b,c boxplot(a,b,c) # Looks good library(ggplot2) # loads qqplot2 #
2006 Jun 19
2
mp3 playlists
Hi ! All MP3 radio stations have disappeared from dir.xiph.org... Is this a bug or is this voluntary ?! Thanks, yomguy
2018 Jun 24
1
potential Bug in R 3.5.0
Hello, I am using R under Win7 and Antergos. After installing R 3.5.0 I ran into several issues regarding gfortran not working properly and packages not installing properly when requiring dependencies (which is quite often the case when you have to reinstall all packages for the new R version). Unfortunately, I cannot reproduce the gfortran issue at the moment (occuring under Antergos), but
2005 Dec 06
7
R is GNU S, not C.... [was "how to get or store ....."]
======= 2005-12-06 22:16:17 伳侜佋佢伬伌佇伵佒佇佇伌伒伬仯伜======= >Martin Maechler a 侀crit : > >> please, please, these trailing ";" are *so* ugly. >> This is GNU S, not C (or matlab) ! >> >> but I'll be happy already if you could >> drop these ugly empty statements at the end of your lines... > >May I disagree ? >I find missing ";" at
2009 Apr 27
3
Formatting numbers
I've been trough the R documentation for about half an hour and it's not clear to me how to do this: I need to format to character a series of integers from 1 to 1000, and I like them to look like "0001" "0002", "0059", "0123" and so on. Padded with zeroes to have four digits. Cheers! Mario. r-help-request at r-project.org wrote: > Send