search for: nsubs

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

Did you mean: subs
2002 Mar 19
1
Catenating expressions in plotmath().
I want to do something like produce a plot title of the form ``Sample size n = 42; critical value k_0 = 17.'' where the ``n'' is to be in a maths font and ``k_0'' 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 >
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 sub...
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 mail...
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
It seems that there is a problem in displaying subtitle in general, independently from multi-plot display. when I do plot (c(1,2,3), c(9,8,7), type = "l") title(main = "Main title", sub ="Sub title",cex.main=2, cex.sub = 2) subtitle doesn't get displayed > --- On Sat, 11/21/09, David Winsemius <dwinsemius at comcast.net> > wrote: >
2004 Dec 11
1
dovecot/openldap auth problems?
Hi folks. New to both dovecot and openldap. Trying to set up virtual domains using the wanderingbarque howto: http://www.wanderingbarque.com/mailserver.html Platform is RH enterprise 3. Only difference is I'm trying to use phamm instead of jamm: http://phamm.rhx.it/ dovecot doesn't seem to want to play nice with my openldap; everything else (postfix, etc) seems to work alright.
2006 Apr 25
4
Help needed
Hi, I am trying to change a SAS macro to R. here is my code. I get an error at the last line. attach(fram) dset1<-cbind(AGE,BMI,DEATH) > 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] >
2020 May 04
3
LV: predication
Hi Roger, That's a good example, that shows most of the moving parts involved here. In a nutshell, the difference is, and what we would like to make explicit, is the vector trip versus the scalar loop trip count. In your IR example, the loads/stores are predicated on a mask that is calculated from a splat induction variable, which is compared with the vector trip count. Illustrated with your
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??
Dear Experts, I have a data object named "data.char". When I use cbind(data.char) in SPlus, I got the following results: > cbind(data.char) data.char data matrix, 2700 excluded list, 3 cluster.var character, 2 strata list, 3 xlog CT link logit gpcorr 1 missing.row numeric, 0 zero.row numeric, 22 infile perc.csv attr(,
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