Displaying 20 results from an estimated 900 matches similar to: "iPhone 3G App For R?"
2011 Dec 28
1
Pascal's Triangle
Hello,
Looking to generate Pascal's triangle in R. How do I get started? Thanks,
--
Matilda Gogos
matildaelizabethv@gmail.com
[[alternative HTML version deleted]]
2011 Dec 28
1
Probability Question
Hello,
This is a question from a class I'm not in (it's also winter break). But,
all the same, I don't know where to start in R with this. It's supposed to
be done in R. So, can anyone direct me with a helpful hint or 2, on how to
get started with the question listed below, or tell me how I can re-post
this to Usenet groups sci.stat.consult., so they can help with this
question:
2015 May 10
1
New York: Matilda, seit Jahren mit dem immer gleichen Outfit - DIE WELT
Cool, und vor allem gut!
> http://www.welt.de/vermischtes/article140736122/Matilda-seit-Jahren-mit-dem-immer-gleichen-Outfit.html <http://www.welt.de/vermischtes/article140736122/Matilda-seit-Jahren-mit-dem-immer-gleichen-Outfit.html>
2006 Aug 23
4
building wxruby2 from cvs (gentoo)
Hello,
I am a newbie to wx and wxruby, I just built wxruby2 on my gentoo box.
At first it did not work. So I post a little message,it might help others.
At first a cryptic message was shown
SWIG Version 1.3.21
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2003
University of Chicago
Compiled with i686-pc-linux-gnu-g++
2013 Apr 16
4
2nd NIC troubles
Hi All,
I have 2 NICS in this system. CentOS 6.4
eth0 is the virtual IP from PFSense mapping connected to the router, works
fine.
eth1 is a second NIC that I have assigned a private IP to and connected it
to a switch on the private network. I have many other private devices, so I
know this setup works.
When I connect the cable to the switch and bring up eth1 the system
basically stops taking
1998 Mar 02
1
R-beta: Rnotes.tgz
My question is really to Robert and Ross (and also to Bill Venables
and Dave Smith) -- but I thought that there might be wider interest in
it.
The "Notes on R" in the file Rnotes.tgz is copyrighted to the above
authors -- can I make copies of it to distribute?
I suspect that the intention of the authors is that Rnotes be as
re-distributable as R itself. However there is no GNU license
2017 Oct 17
2
ggridges help
yes, thanks, and I was getting close to that. One thing I found is the manual says the height is the distance above the y-line, which should be, but doesn't have to be positive. In fact, the time series are estimates of a cycle, and has negative values, which unfortunately are not included in my sub-sample. And the negative values are not handled properly (the series disappears for
2018 Jan 02
4
httr::content without message
Hi All:
I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't figured out how to do so.
The following should reproduce the result:
myURL <-
2017 Jun 01
3
Reversing one dimension of an array, in a generalized case
> On 1 Jun 2017, at 22:42, Roy Mendelssohn - NOAA Federal <roy.mendelssohn at noaa.gov> wrote:
>
> Thanks to all for responses/. There was a question of exactly what was wanted. It is the generalization of the obvious example I gave,
>
>>>> junk1 <- junk[, rev(seq_len(10), ]
>
>
> so that
>
> junk[1,1,1 ] = junk1[1,10,1]
> junk[1,2,1] =
2017 Aug 29
3
RMarkdown question
Hi All:
In creating a R Notebook I know that in the text I can link to a (sub) section by using the command:
[Header 1](#anchor)
and putting the appropriate anchor name at the appropriate header. But can the same be done for code chunks, if the code chunk is named? What I want to do is say that such and such code chunk is an example of how to do something, and have that link to the
2017 Jun 01
5
Reversing one dimension of an array, in a generalized case
Hi All:
I have been looking for an elegant way to do the following, but haven't found it, I have never had a good understanding of any of the "apply" functions.
A simplified idea is I have an array, say:
junk(5, 10, 3)
where (5, 10, 3) give the dimension sizes, and I want to reverse the second dimension, so I could do:
junk1 <- junk[, rev(seq_len(10), ]
but what I am
2017 Oct 17
2
ggridges help
I have tried:
ggplot(plotFrame, aes(x = time, y = cycle, height = cycle, group = depth)) + geom_ridgeline()
ggplot(plotFrame, aes(x = time, y = depth, height = cycle, group = depth)) + geom_ridgeline()
ggplot(plotFrame, aes(x = time, y = depth, group = depth)) + geom_density_ridges()
none are producing a plot that was a ridgeline for each depth showing the time series at that depth. The plot
2017 Jun 01
2
Reversing one dimension of an array, in a generalized case
My error. Clearly I did not do enough testing.
z <- array(1:24,dim=2:4)
> all.equal(f(z,1),f2(z,1))
[1] TRUE
> all.equal(f(z,2),f2(z,2))
[1] TRUE
> all.equal(f(z,3),f2(z,3))
[1] "Attributes: < Component ?dim?: Mean relative difference: 0.4444444 >"
[2] "Mean relative difference: 0.6109091"
# Your earlier example
> z <- array(1:120, dim=2:5)
>
2017 Oct 17
0
ggridges help
The min_height = -0.25 is there to make it show cycle values down to -1/4.
You may want to change it to -1 so it shows more of the cycle values.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 17, 2017 at 1:26 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn at noaa.gov> wrote:
> yes, thanks, and I was getting close to that. One thing I found is the
> manual says the
2017 Jun 01
3
Reversing one dimension of an array, in a generalized case
Here is an alternative approach using apply(). Note that with apply() you are reversing rows or columns not indices of rows or columns so apply(junk, 2, rev) reverses the values in each column not the column indices. We actually need to use rev() on everything but the index we are interested in reversing:
f2 <- function(a, wh) {
dims <- seq_len(length(dim(a)))
dims <-
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
How about this:
f <- function(a,wh){ ## a is the array; wh is the index to be reversed
l<- lapply(dim(a),seq_len)
l[[wh]]<- rev(l[[wh]])
do.call(`[`,c(list(a),l))
}
## test
z <- array(1:120,dim=2:5)
## I omit the printouts
f(z,2)
f(z,3)
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into
2017 Jun 01
1
Reversing one dimension of an array, in a generalized case
Thanks again. I am going to try the different versions. But I probably won't be able to get to it till next week.
This is probably at the point where anything further should be sent to me privately.
-Roy
> On Jun 1, 2017, at 1:56 PM, David L Carlson <dcarlson at tamu.edu> wrote:
>
> On the off chance that anyone is still interested, here is the corrected function using
2017 Jun 01
0
Reversing one dimension of an array, in a generalized case
On the off chance that anyone is still interested, here is the corrected function using aperm():
z <- array(1:120,dim=2:5)
f2 <- function(a, wh) {
idx <- seq_len(length(dim(a)))
dims <- setdiff(idx, wh)
idx <- append(idx[-1], idx[1], wh-1)
aperm(apply(a, dims, rev), idx)
}
all.equal(f(z, 1), f2(z, 1))
# [1] TRUE
all.equal(f(z, 2), f2(z, 2))
# [1] TRUE
2017 Oct 17
0
ggridges help
Does the following work for you?
ggplot2::ggplot(plotFrame, aes(x = time, y = depth, height = cycle,
group = depth)) + ggridges::geom_ridgeline(fill="red", min_height=-0.25)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 17, 2017 at 12:43 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn at noaa.gov> wrote:
> I have tried:
>
> ggplot(plotFrame, aes(x =
2007 Jun 12
2
[OT]Web-Based Data Brushing
I apologize for the off-topic post, but my Google search did not turn
up much and I thought people on this list my have knowledge of this.
I am looking for examples of data brushing (i.e. dynmaic linked
plots) either on a web site, or in a web-based application, such as
an AJAX app. Even better if there is a way to do this in R.
Thanks for any help.
-Roy M.
**********************