similar to: diagonal matrix, array attributes and how to keep from setting an attribute on "NULL"

Displaying 20 results from an estimated 300 matches similar to: "diagonal matrix, array attributes and how to keep from setting an attribute on "NULL""

2012 Aug 08
1
dimnames in array
Hello, I'm working with an array; I'm trying to make it so that an array of dim(42,2,2) has names whose length corresponds to that of the array, and am hoping someone with experience with this can see what I'm not doing correctly: data11 = array(0,c(41,2,2)) y = lsoda(x0,times,fhn$fn.ode,pars)#This is make.fhn() from colloc infer package# y = y[,2:3]
2009 Jul 22
1
R extract vertices for polygon
Dear R users, I'm trying to extract from a given matrix (GROUP) the coordinates of the vertices of the different groups (i.e. 3, 7, 1 . . .) to plot the polygons to delineate the area in which each group "wins" and colour it diferentially. I can make a simple point plot, but I would like to add polygons with full colored area. The example is with a 5x5 matrix, but I'm working
2012 Aug 13
4
dimnames in an array(I'll be grateful if this message will be passed to all list users)
Hello, I'm hoping someone with a wide experience with R may be able to see what the program is trying to tell me. I've got an array: y1=rnorm(41,0.2) y2=rnorm(41,0.2) y3=rbind(y1,y2) data11<-array(0,c(41,2,2)) data11[,1,]=y3 data11[,2,]=y3 rownames(data11)<-rownames(data11, do.NULL = FALSE, prefix = "Obs.") colnames=c("V","R")
2011 Feb 02
2
Help with one of "those" apply functions
Hello there, I'm still struggling with the *apply commands. I have 5 people with id's from 10 to 14. I have varying amounts (nrep) of repeated outcome (value) measured on them. nrep <- 1:5 id <- rep(c("p1", "p2", "p3", "p4", "p5"), nrep) value <- rnorm(length(id)) I want to create a new vector that contains the sum of the
2013 Apr 03
0
Help with lmRob function
Hi, I am fairly new to R and have encountered an issue with the lmRob function that I have been unable to resolve. I am trying to run a robust regression using the lmRob function which runs successfully, but the results are rather strange. I'm not sure it's important, but my model has 3 dichotomous categorical variables and 2 continuous variables in it. When I look at a summary of my
2006 Nov 23
1
statistics help
hi im a bioinformatics student as i have never had any previous programming experience i need help this is the question i need to answer: Random walk model we want to model a random walk where you take a step to the left with probability p and one to the right with probability 1-p. Now assume that there is a line of 11 squares. once you are in square 0 or in square 10 the walk ends. The aim
2011 Mar 03
3
Probabilities greather than 1 in HIST
Dear all, I am a newbie in R and could not find help on this problem. I am trying to plot an histogram with probabilities in the y axis. This is the code I am using: #TLC uniform n=30 mi=1; mx=6 nrep=1000 xbar=rep(0,nrep) for (i in 1:nrep) {xbar[i]=mean(runif(n,min=mi,max=mx))} hist(xbar,prob=TRUE,breaks="Sturges",xlim=c(1,6),main=paste("n =",n), xlab="Média",
2010 Jan 06
0
Boot() Package Question: Multiple Confidence Interval Output
Good Morning: I posted an initial question a few days ago and I received some good advice from two R experts. I have re-examined the Davison-Hinkley text paying close attention to the examples of the boot() and boot.ci() in that text and the single example of a similar process in the MASS book (not the MASS package manual as I initially misunderstood). I think I understand how the stratified
2006 Jun 18
1
bug with boot.sw98 function (PR#8999)
Full_Name: Nuno Monteiro Version: 2.3.1 OS: Windows XP HE Submission from: (NULL) (84.9.38.207) I'm using the FEAR library to perform Data Envelopment analysis with a 36,000 obs dataset. The function dea is working fine but then when I try to use the boot.sw98 to come up with some sensitivity analysis I get the following error:
2006 Jan 12
1
"infinite recursion" in do.call when lme4 loaded only
A larg program which worked with lme4/R about a year ago failed when I re-run it today. I reproduced the problem with the program below. -- When lme4 is not loaded, the program runs ok and fast enough -- When lme4 is loaded (but never used), the do.call fails with infinite recursion after 60 seconds. Memory used increases beyond bonds in task manager. -- I tested a few S3 based packages
2006 Jan 12
1
"infinite recursion" in do.call when lme4 loaded only
A larg program which worked with lme4/R about a year ago failed when I re-run it today. I reproduced the problem with the program below. -- When lme4 is not loaded, the program runs ok and fast enough -- When lme4 is loaded (but never used), the do.call fails with infinite recursion after 60 seconds. Memory used increases beyond bonds in task manager. -- I tested a few S3 based packages
2018 Feb 15
2
package MonteCarlo error: object 'packages' not found
R-users, I can't tell what's causing the following error. The vignette does not make a reference to a "packages" option or parameter. > library(MonteCarlo) Loading required package: abind Loading required package: codetools Loading required package: rlecuyer Loading required package: snow Loading required package: snowfall > infest_kud_fun<-function(x,A,B){ +??
2018 Feb 15
0
package MonteCarlo error: object 'packages' not found
This looks like the sort of thing that you should ask the package maintainer (?maintainer). Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Feb 15, 2018 at 11:39 AM, john polo <jpolo at mail.usf.edu> wrote: >
2012 Mar 08
1
poLCA
Hi, I am running some latent class models with civariates using poLCA in R, and have a question the meaning of some error messages. My model has 8 y-variables (dichotomous) and 2 x-variables (also dichotomous), and I am trialling different numbers of classes. When I run a 2-class model, the model runs fine without any error messages. I used the nrep = 10 option to avoid local maxima. Class %
2012 Mar 12
1
Fwd: Re[2]: B-spline/smooth.basis derivative matrices
--- On Mon, 3/12/12, aleksandr shfets <a_shfets at mail.ru> wrote: > From: aleksandr shfets <a_shfets at mail.ru> > Subject: Fwd: Re[2]: [R] B-spline/smooth.basis derivative matrices > To: "Vassily Shvets" <shv736 at yahoo.com> > Received: Monday, March 12, 2012, 5:15 PM > > > > -------- ???????????? ????????? > -------- > ?? ????:
2012 Jan 13
0
Example of "task seeds" with R parallel. Critique?
Greetings: In R parallel's vignette, there is a comment "It would however take only slightly more work to allocate a stream to each task." (p.6). I've written down a working example that can allocate not just one, but several separate seeds for each task. (We have just a few project here that need multiple streams). I would like to help work that up for inclusion in the
2012 Sep 13
2
Missing Values
I am using bootstrap and cannot figure how to tell R to ignore missing values (NA) I tried this syntax and it did not work. The name of the file is banks the column two. bootmean(banks$two,na.rm = True, conf = 90,nrep = 1000) -- View this message in context: http://r.789695.n4.nabble.com/Missing-Values-tp4643059.html Sent from the R help mailing list archive at Nabble.com.
2008 Jun 04
1
possible bug in flexclust
Hi - Writing to see if someone can suggest whether a problem warrants a bug report. It concerns the use of stepFlexclust in the flexclust package. The problem concerns the size of clusters returned. Versions: R-2.7.0 on Windows XP; RODBC_1.2-3 code snippet: r8 <- stepFlexclust(df,8,nrep=100,FUN=kcca, family=kccaFamily("kmedians")) summary(r8) ## returns cluster sizes of 51, 115,
2008 Jan 07
0
Help with flexmix
Hello, I am using the package "flexmix", specifically the function "stepFlexmix" and was hoping for some assistance: Here is my input: fit <- stepFlexmix(trips~.,data=data.frame(traveldata),k=1:5,nrep=5,model=FLXMRglm( family="gaussian")) And I recieve the following error message: *Error in FLXfit(model = model, concomitant = concomitant, control =
2010 Jun 18
0
simulating binary random numbers using 'mvtnorm'
Hi R-users, I just started learning R. I have a project on lot quality assurance sampling (LQAS). In this project I have to develop LQAS plans to make decision on stopping / continuing a programme. The LQAS plans is based on cluster sampling: selection of k clusters (villages) of m children each for a total sample of n. In this connection I would like to estimate the classification errors ( alpha