Displaying 20 results from an estimated 9000 matches similar to: "cannot allocate vector of size..."
2010 Jun 23
2
question about a program
Dear all,
I have the following program for a multiple comparison procedure.
There are two functions for the two steps. First step is to calculate the
critical values,
while the second step is the actual procedure [see below: program with two
functions].
This work fine. However, However I want to put them into one function
for the convenience
of later use [see below: program with one
2011 Apr 20
2
question regarding qmvnorm
Dear all,
I wrote the following function previously. It worked fine with the old
mvtnorm package.
Somehow with the updated package, I got a error message when trying to use
the function.
I need some help. It is sort of urgent. Can anyone please take a look. The
function is the following.
Thank you very much!
Hannah
library(mvtnorm)
cc_f <- function(m, rho,
2010 Jan 30
2
convert data frame of values into correlation matrix
Hi Group,
Consider a data frame like this:
mylabel1 <- rep(c("A","B","C"),each=3)
mylabel2 <- rep(c("A","B","C"),3)
corrs <- c(1,.8,.7,.8,1,.7,.7,.7,1)
myData <- data.frame(mylabel1,mylabel2,corrs)
myData
mylabel1 mylabel2 corrs
1 A A 1.0
2 A B 0.8
3 A C 0.7
4 B
2008 Jan 25
1
increasing speed for permutations of glm
Dear R Programmers,
I am trying to run a Poisson regression on all pairs of variables in a data
set and
obtain the permutation distribution. The number of pairs is around 100000.
It seems my code will take weeks to run, unless I try something else.
Could you give me any suggestions on how to improve the speed of the
code below, or any general suggestions on how I may accomplish this task.
Thanks
2010 Jun 18
1
question in R
Dear all,
I am trying to calculate certain critical values from bivariate normal
distribution (please see the
function below).
m <- 10
rho <- 0.1
k <- 2
alpha <- 0.05
## calculate critical constants
cc_z <- numeric(m)
var <- matrix(c(1,rho,rho,1), nrow=2, ncol=2, byrow=T)
for (i in 1:m){
if (i <= k) {cc_z[i] <- qmvnorm((k*(k-1))/(m*(m-1))*alpha,
2009 Apr 19
1
help with this code
Hi, can anyone help me with the following code? Thanks!
library(mvtnorm)
f2 <- function(n, rho) {
var <- matrix(c(1,rho,rho,1), nrow=2, ncol=2, byrow=T)
beta <- seq(0, 1, length.out=n+1)
alpha <- sort (sapply(1-beta, qnorm))
x <- array(0, dim=c(n, n))
for (s in 1:n) {
for (t in 1:n){
if (s>=t)
x[s,t] <- pmvnorm(lower=c(alpha[s],
2012 Aug 06
4
Overlay Histogram
Dear all,
For two sets of random variables, say, x <- rnorm(1000, 10, 10) and y
<- rnorm(1000. 3, 20).
Is there any way to overlay the histograms (and density curves) of x and y
on the plot of y vs. x?
The histogram of x is on the x axis and that of y is on the y axis.
The density curve here is to approximate the shape of the distribution
and does not have to have area 1.
Thank you
2015 Nov 15
2
Ice cast multiple dj's
Hello,
How much would you charge, got a contact email I can get you on.
Thanks
Hannah
Sent from my iPhone
> On 15 Nov 2015, at 04:54, Scott Winterstein <0turn1 at gmail.com> wrote:
>
> I can help... is this a free need or can you pay a little for the programming... im good and Im cheap
>
> Sehr geehrte Damen und Herren,
>
> Hallo,
>
>
> Vielen Dank
2012 Jul 01
4
geom_boxplot
Also, it is possible to change "ylim" also?
2012/7/1 li li <hannah.hlx@gmail.com>
> Dear all,
> I have a few questions regarding the boxplot output from the
> "geom_boxplot" function.
> Attached is the output I get. Below are my questions:
>
> 1. How can I define the xlab and ylab myself?
> Also I would like to remove
2015 Nov 13
4
Ice cast multiple dj's
Hello,
Im new to ice cast and was wondering how I would go about setting it up to allow multiple DJ's for different locations.I would like to have an auto dj playing and then Dj's want to broastcast the auto dj stops, and when the dos stop the auto dj kicks back in straight away.
If anyone has any idea on how to do this that would be great!
Thanks Hannah
-------------- next
2008 Aug 23
3
graphs for pretest data
Is there an easy way to make graphs for the following data. I have
pretest and posttest scores for men and
women. I would like to form a 'titlted segment' plot for the data.
That is, make segments joining the scores,
with different types of segments for men and women.
Example data:
menpre <- c(43,42,26,39,60,60,46)
menpost <- c(40,41,36,42,54,58,43)
womenpre <-
2012 Jun 28
6
Help
Dear all,
I need some help on plotting multiple boxplots on one figure.
I have three matrix A, B and C. Each of them is a 1000 by 10 matrix.
The 10 columns of all three matrix correspond to the
10 values of the same parameter, say k=1, ..., 10.
I want to make a plot where x axis represents different values of k.
For each k value, I want to plot three boxplots, one on top of another.
For
2016 Jan 04
3
Listen Links
We used jplayer, on the web site side
AMR.fm
On January 4, 2016 11:00:15 AM "Marvin Scholz" <epirat07 at gmail.com> wrote:
> On 4 Jan 2016, at 17:23, Hannah Carroll wrote:
>
>> Hello,I would like to add different listening options to my website
>> but I having a bit of difficulty doing this.I would like the options
>> of iTunes, windows media player and
2016 Feb 16
2
listener stats
Hannah, thanks so much - - -how do I log into administration. Just go the
icecast website and type in my url?
Regards
Gary Hudson
Home: 817-710-6367
Cell: 0959476691
From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf
Of Hannah Carroll
Sent: Tuesday, February 16, 2016 9:39 AM
To: Icecast streaming server user discussions
Subject: Re: [Icecast] listener
2016 Jan 04
3
Listen Links
On 4 Jan 2016, at 23:41, Hannah Carroll wrote:
> Hello,can you expand a bit more on how its not possible.How have those
> websites managed it then?
They simply have not. When I click those, it does not open in the player
it says there.
And it makes no sense imo to have this kind of links, it's better to
have a playlist link
like the m3u Icecast provides and the user will have the
2010 Jul 23
3
Figures in Latex
Hi all,
I want to add 6 plots in the format of 2 columns and 3 rows as one
figure in latex. The plots are in .eps file.
I know how to add 2 plots side by side, but could not figure out how to do
multiple rows.
I know this may not be the right place to ask such a question. But I do
not know who to ask, so just try my
luck here.
Thank you in advance.
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
Hi, Here are three plots:
library(ggplot2)
data(diamonds)
randind <- sample(nrow(diamonds),1000,replace=FALSE)
dsmall <- diamonds[randind,]
qplot(carat, data=dsmall, geom="histogram",binwidth=1)
qplot(carat, data=dsmall, geom="histogram",binwidth=.1)
qplot(carat, data=dsmall, geom="histogram",binwidth=.01)
What are ways to put these three plots on a single
2010 Jul 22
5
legend in R plot
Hi all,
I am have some difficulty with the legend function.
I need to add a legend to describe the different line types in a plot. The
legend box is small.
It did not include sufficient length of each line type to help distinguish
the differnt line types.
Is there a way to fix this.
Thank you
Hannah
[[alternative HTML version deleted]]
2012 Mar 21
2
glmnet: obtain predictions using predict and also by extracting coefficients
All,
For my understanding, I wanted to see if I can get glmnet predictions
using both the predict function and also by multiplying coefficients
by the variable matrix. This is not worked out. Could anyone suggest
where I am going wrong?
I understand that I may not have the mean/intercept correct, but the
scaling is also off, which suggests a bigger mistake.
Thanks for your help.
Juliet Hannah
2008 Jul 09
3
randomly select duplicated entries
Using this data as an example
dat <- read.table(textConnection("Id myvar
12 1
12 2
12 6
34 9
34 4
34 8
65 15
65 23"), header = TRUE)
closeAllConnections()
how can I create another data set that does not have duplicate entries
for 'Id', but the included values
are randomly selected from the available ones.
Thanks!
Juliet