> Richard M Heiberger
> on Mon, 14 Aug 2017 14:36:40 -0400 writes:
> Please look at ?datasets::randu
> for David Donoho's translation of RANDU into R.
Thanks a lot, Rich, for pointing to this:
Indeed, the RANDU aka 'randu' data set has been part of R since
the last millenn
Hello William,
that's exactly what I needed. I didn't consider lapply'ing over
seq_along(data) instead of data, very useful.
Thanks a lot!
Giovanni
On Mon, Aug 14, 2017 at 10:02 PM, William Dunlap wrote:
> You could replace your 'depth' argument with one that shows where in the
> original data
Your example is not easily reproducible.
The REBayes requires Rmosek which requires a system command MOSEK.
Please try again with an example using data in base R.
Meanwhile, my guess is that you will need to do something like
explicitly specifying xlim and ylim so all panels have the same
limits.
Allaisone 1 allaisone1 at hotmail.com
Mon May 22 02:10:10 CEST 2017
Hi All—
I am curious as to whether there is a vectorized solution using base R
functions, instead of looping and if statements, to the problem below. I
have seen several posts that address a similar question which generally ask
to
I am trying to do some comparisons of density estimators using lattice.
The code below attempts to plot the same histogram in each panel and
then overplots a kernel estimate with different bandwidths. Finding
packet.number() was a bit arduous, but seems to do what I want. My
concern now is that cl
On 14/08/2017 2:18 PM, Huzefa Khalil wrote:
Hi Martin,
The corrected function would be
RANDU <- function(num) { return ((65539*num)%%(2^31)) }
You forgot the brackets for the return function.
Hence, what was returned was always (65539 * num)
Yes, this is one disadvantage of having a return
You could replace your 'depth' argument with one that shows where in the
original data you are at:
leaf.func <-
function(data, where) {
if(is.null(data)) stop("Null data at ", deparse(where))
return(mean(data))
}
visit.level <-
function(data, where = integer()) {
if (length
Thank you Hadley. This was so close, but actually the other way around: I
uninstalled the latest rlang v0.1.2 from ~10 Aug and reinstalled v 0.1.1, now
everything runs smoothly. -J
-Original Message-
From: Hadley Wickham [mailto:h.wick...@gmail.com]
Sent: Monday, 14 August, 2017 2:35
This is for the problem I posted about last Friday.
First, the happy part, a workaround:
$ cd ~/R/x86_64-redhat-linux-gnu-library/3.4
$ ln -sf /usr/share/R/library/* .
After that, all of the packages are found by R CMD check. R CMD check
looks in the ~/R/x86_64-redhat-linux-gnu-library/3.4 fold
Hi, and sorry for asking such an unspecific question.
Does anybody know of statistical / data mining methods that are available in R
that are not in SAS ? With SAS I mean the SAS System Version 9.4 and SAS
Enterprise Miner. I don't expect a complete list, just two or three examples
or hints whe
Hello,
I'm writing a program that takes a tree in input (nested lists) and
returns a copy of it replacing the leaves with something else (eg: a
computation done on the original leaves).
In the example below, the tree is composed by countries and cities,
and the leaves (children of the cities) are
Please look at ?datasets::randu
for David Donoho's translation of RANDU into R.
On Mon, Aug 14, 2017 at 12:49 PM, Martin Møller Skarbiniks Pedersen
wrote:
> Dear all,
>
> I am trying to learn functions in R and 3D plotting so I decided to try
> to plot
> the famous bad PRNG Randu from IBM(1).
The most likely explanation is you have a new version of dplyr/tibble
and an old version of rlang. Try re-installing rlang.
Hadley
On Mon, Aug 14, 2017 at 9:26 AM, Szumiloski, John
wrote:
> UseRs,
>
> When doing some data manipulations using the tidyverse, I am repeatedly
> getting the same err
> On Aug 14, 2017, at 11:10 AM, David Winsemius wrote:
>
>
>> On Aug 14, 2017, at 8:37 AM, Szumiloski, John
>> wrote:
>>
>> Thanks for the feedback Jeff. Before I pursue a bug report, let me give a
>> full example:
>>
>> ## begin console output
>>
>> R version 3.4.1 (2017-06-30) -- "
Hi Martin,
The corrected function would be
RANDU <- function(num) { return ((65539*num)%%(2^31)) }
You forgot the brackets for the return function.
Hence, what was returned was always (65539 * num)
On Mon, Aug 14, 2017 at 12:49 PM, Martin Møller Skarbiniks Pedersen
wrote:
> Dear all,
>
> I
Dear all,
I am trying to learn functions in R and 3D plotting so I decided to try
to plot
the famous bad PRNG Randu from IBM(1).
However something is not correct in the function I have created.
First I define the function RANDU like this:
> RANDU <- function(num) { return (65539*num)%%(2
> On Aug 14, 2017, at 8:37 AM, Szumiloski, John wrote:
>
> Thanks for the feedback Jeff. Before I pursue a bug report, let me give a
> full example:
>
> ## begin console output
>
> R version 3.4.1 (2017-06-30) -- "Single Candle"
> Copyright (C) 2017 The R Foundation for Statistical Compu
> On Aug 14, 2017, at 10:49 AM, David Winsemius wrote:
>
>
>> On Aug 14, 2017, at 5:17 AM, peter dalgaard wrote:
>>
>>
>>> On 14 Aug 2017, at 13:43 , Spencer Graves
>>> wrote:
>>>
>>>
>>>
>>> On 2017-08-14 5:53 AM, peter dalgaard wrote:
> On 14 Aug 2017, at 10:13 , Troels Ring wrot
> On Aug 14, 2017, at 5:17 AM, peter dalgaard wrote:
>
>
>> On 14 Aug 2017, at 13:43 , Spencer Graves
>> wrote:
>>
>>
>>
>> On 2017-08-14 5:53 AM, peter dalgaard wrote:
On 14 Aug 2017, at 10:13 , Troels Ring wrote:
Dear friends - I hope you will accept a naive question on
Thanks for the feedback Jeff. Before I pursue a bug report, let me give a full
example:
## begin console output
R version 3.4.1 (2017-06-30) -- "Single Candle"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)
R is free software and come
On Mon, Aug 14, 2017 at 5:29 AM, wrote:
Dear all
>
> I'm a newbie regarding netcdf data. Today I realized that I maybe do not
> understand some basics of the netcdf. I want to create a *.nc file
> containing three variables for Switzerland. All data outside of the country
> are NAs. The third var
This sounds an awful lot like a bug. Read the Posting Guide to know what to do
about bugs. And delaying making the reprex is _always_ a bad idea.
--
Sent from my phone. Please excuse my brevity.
On August 14, 2017 7:26:32 AM PDT, "Szumiloski, John"
wrote:
>UseRs,
>
>When doing some data manipu
UseRs,
When doing some data manipulations using the tidyverse, I am repeatedly getting
the same error message in now three separate situations. I can write up a
reproducible example, but want to lay out the high-level issues in case someone
recognizes exactly what is happening here.
The error
> I have 204 "baskets" of three types corresponding to factor F, each of size
> from 2 to 33 containing measurements, and need to know if the standard
> deviation on the measurements in each basket,sdd, is different across
> types, F.
If you're just trying to confirm that there is a difference a
Dear all
I'm a newbie regarding netcdf data. Today I realized that I maybe do not
understand some basics of the netcdf. I want to create a *.nc file containing
three variables for Switzerland. All data outside of the country are NAs. The
third variable is calculated from the first two variables
> On 14 Aug 2017, at 13:43 , Spencer Graves
> wrote:
>
>
>
> On 2017-08-14 5:53 AM, peter dalgaard wrote:
>>> On 14 Aug 2017, at 10:13 , Troels Ring wrote:
>>>
>>> Dear friends - I hope you will accept a naive question on lm: R version
>>> 3.4.1, Windows 10
>>>
>>> I have 204 "baskets" of
On 2017-08-14 5:53 AM, peter dalgaard wrote:
On 14 Aug 2017, at 10:13 , Troels Ring wrote:
Dear friends - I hope you will accept a naive question on lm: R version 3.4.1,
Windows 10
I have 204 "baskets" of three types corresponding to factor F, each of size from 2 to 33
containing measureme
> On 14 Aug 2017, at 10:13 , Troels Ring wrote:
>
> Dear friends - I hope you will accept a naive question on lm: R version
> 3.4.1, Windows 10
>
> I have 204 "baskets" of three types corresponding to factor F, each of size
> from 2 to 33 containing measurements, and need to know if the stand
I think, I succeeded in doing it with Hershey fonts:
plot(0,0,xlim=c(0,2),ylim=c(0,2))
text(1,1,"\\#H2380",vfont=c("serif", "plain"))
This is ok now!
Atte T.
14.8.2017, 9.16, Atte Tenkanen kirjoitti:
Hi,
I would like to draw some Unicode symbols like G- and f-clefs (used in
music notation)
Dear friends - I hope you will accept a naive question on lm: R version
3.4.1, Windows 10
I have 204 "baskets" of three types corresponding to factor F, each of
size from 2 to 33 containing measurements, and need to know if the
standard deviation on the measurements in each basket,sdd, is dif
30 matches
Mail list logo