search for: nsub

Displaying 14 results from an estimated 14 matches for "nsub".

Did you mean: nskb
2002 Mar 19
1
Catenating expressions in plotmath().
...#39;' indicates that the 0 is a subscript. (A la LaTeX.) But the values ``42'' and ``17'' are to be substituted in from the numeric values of R objects. After a bit of struggle I found that > nn <- 42 > kk <- 17 > plot(1:10,1:10, main=substitute(list(n==nsub~~k[0]==ksub),list(nsub=nn,ksub=kk))) gets pretty close to what I want. But how do I fold in the text strings ``Sample size'', "; critical value", and "." (at the end)? Is this simply impossible? I'd like to be able to do something like form e1 <- substitute(...
2011 Feb 28
0
lme error message: Error in getGroups.data.frame(dataMix, groups) :
...263564 32 4 -2.1993412 33 4 5.1830260 34 4 16.2311097 35 4 -2.5781897 36 4 -3.0167290 37 4 -0.1119353 38 4 1.1983126 39 4 -8.8212143 40 4 3.8895263 my code: library(nlme) # Define essential constants. # Number of subject studied. NSubs <- 4 # Number of observations per subject. NObs <- 10 # Between study SD tau <- 4 # Within study SD. sigma <- 8 # END Define essential constants. # Define between subject variation between <- matrix(nrow=10,ncol=1) between <- rnorm(NSubs,0,tau) between # END Define between su...
2009 Dec 13
3
Subtitle & conova post hoc
Hello, I just have two questions I cannot figure out. 1) I would like to have a subtitle just below the main title on my graphs and I cannot figure out how to do this, is it possible? or is it only possible to have it at the bottom? 2) I need to run Conova post hoc test, do you know if it is coded in R? any package I would find this test in? Thank you very much for all the help Have a nice
2010 Feb 19
3
Rubbish values written with zero-length vectors (PR#14217)
Full_Name: George Russell Version: 2.10.0, 2.11.0 (2009-12-13 r50716) OS: Windows Submission from: (NULL) (217.111.3.131) R trace: -- cut here -- > v <- integer(0) > v[[1]] <- v > v [1] 20522144 > v <- numeric(0) > v[[1]] <- v > v [1] 4.254131e-314 > sessionInfo() R version 2.10.0 (2009-10-26) i386-pc-mingw32 locale: [1] LC_COLLATE=German_Germany.1252
1997 Nov 28
3
R-alpha: Problems with dimnames and names
...= CADR(x); CADR(ind) = CADR(y); diff -ur R-0.50-a4/src/main/subset.c R-0.50-a4.patched/src/main/subset.c --- R-0.50-a4/src/main/subset.c Mon Aug 11 04:59:12 1997 +++ R-0.50-a4.patched/src/main/subset.c Fri Nov 28 11:16:55 1997 @@ -608,7 +608,7 @@ PROTECT(dim = getAttrib(x, R_DimSymbol)); nsubs = length(subs); - if(nsubs == 1) { + if(nsubs == 1 && isNull(dim)) { ans = vectorSubset(x, CAR(subs), call); } else { --_=XFMail.1.1.p0.Linux:971128122615:3052=_-- End of MIME message -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mai...
2008 Mar 02
1
summarizing matrix data
Hi everyone, I'm sure this is simple, but I can't seem to figure this out. Situation. 3 different groups of subjects each submit n X n matrices of scores. What I want to do is aggregate each group of scores into a summary n X n matrix. I need the result to be a matrix so that I can calculate a dissimilarity structure on it. So I thought I would create a multi-dimensional array and
2009 Nov 21
2
Fw: Re: title problem
...t;> Thanks Gary. No I want one subtitle for all > plots > > below the main? > > >> title. subtitle should work but if doesn't at > the > > worst case I? > > >> could do as follows: > > >> > > >> title(main = "Main title\nSub title",outer = > TRUE, > > cex.main=1.5,...) > > >> > > >> --- On Sat, 11/21/09, Gary <mail2garymiller at gmail.com> > > wrote: > > >> > > >>> From: Gary <mail2garymiller at gmail.com> > > >>> Subject:...
2004 Dec 11
1
dovecot/openldap auth problems?
...ere's the error from /var/log/ldap.log: <snip> Dec 11 13:59:22 salcha slapd[15734]: => access_allowed: auth access to "cn=dovecot,dc=akforecast" "u serPassword" requested Dec 11 13:59:22 salcha slapd[15734]: => dnpat: [1] .*,jvd=([^,]+),o=hosting,dc=akforecast nsub: 1 Dec 11 13:59:22 salcha slapd[15734]: => dnpat: [2] .*,jvd=([^,]+),o=hosting,dc=akforecast nsub: 1 Dec 11 13:59:22 salcha slapd[15734]: => dnpat: [3] .*,jvd=([^,]+),o=hosting,dc=akforecast nsub: 1 Dec 11 13:59:22 salcha slapd[15734]: => dnpat: [4] o=hosting,dc=akforecast nsub: 0 Dec 11 1...
2006 Apr 25
4
Help needed
...H) > BMIGRP<-cut(BMI,breaks=3,right=TRUE) > AGEGRP<-floor(AGE/10)-2 > dset<-cbind(AGEGRP,BMIGRP,DEATH) > maxage<-max(dset[,1]) > minage<-min(dset[,1]) > #maxcls<-dset[,2] > #mincls<-dset[,2] > nage<-maxage-minage+1 > nclass<-maxcls-mincls+1 > nsub<-nrow(dset) > weight <- matrix(,nage,1) > for ( i in minage:maxage ) + {weight[i-minage+1,1] = sum(std = i)} > > atrisk = matrix(,nclass,nage) > wevents = matrix(,nclass,nage) > #reduce data set to frequency table > for( i in (minage : maxage)) + for( j in (minc...
2020 May 04
3
LV: predication
...r-epilog -emit-llvm -O2 emits the following IR vector.body: ; preds = %vector.body, %for.body.preheader.new %index = phi i64 [ 0, %for.body.preheader.new ], [ %index.next.1, %vector.body ] %niter = phi i64 [ %unroll_iter, %for.body.preheader.new ], [ %niter.nsub.1, %vector.body ] %broadcast.splatinsert12 = insertelement <16 x i64> undef, i64 %index, i32 0 %broadcast.splat13 = shufflevector <16 x i64> %broadcast.splatinsert12, <16 x i64> undef, <16 x i32> zeroinitializer %induction = or <16 x i64> %broadcast.splat13, <...
2020 May 04
3
LV: predication
> The harm comes if the intrinsic ends up with the wrong value, or attached to the wrong loop. The intrinsic is marked as IntrNoDuplicate, so I wasn't worried about it ending up somewhere else. Also, it is a property of a specific loop, a tail-folded vector loop, that holds even after it is transformed I think. I.e. unrolling a vector loop is probably not what you want, but even if you do
2002 Dec 03
1
Any difference in cbind() b/w SPLus and R??
...lem. Are there any differences in using cbind() b/w SPlus and R? How should I do it in R? Your help is greatly appreciated. Charlie Liu Graduate Intern at US EPA THis is what's in "data.char" > data.char $data: Ref.id Exp Group Species Strain Sex mg/m3 Hours Nsub Target Censored GpSize Incid SevLo SevHi [1,] "ACC-2688" "1" "3" "HU" "r" "M" "686" "7" "12" "C" "n" "12" "1" "1" "1&quo...
2006 Apr 17
7
help
Hi, I am trying to runn a age-period-cohort model, but here is what I am having problem with, hope you can help me! This is what I am trying to do: sumzero_a<-((A-min(A))/5+1) - mean((A-min(A))/5+1) where A is my age variable (numeric, the mid-point of a five-year age group), but I got the following error: Error in min(..., na.rm = na.rm) : invalid 'mode' of argument I am pretty
2013 Feb 15
3
lattice 3x3 plot: force common y-limits accross rows and align x-axes
Good afternoon, I would like to ask for help in controlling y-axis limits and labels in lattice doplots. Unfortunately, the problem is somewhat convoluted, please bear with the long explanation. I would like to create a 3x3 lattice of dotplots, say subject ~ count. The plot is conditioned on variables treatment and risk: subject ~ count | treatment + risk. In the experiment, not all subjects