Displaying 5 results from an estimated 5 matches for "nper".
Did you mean:
aper
2009 Apr 23
1
ggplot2/aesthetic plotting advice
...quite "jitters", because it's
systematic) the x locations a bit, but I find it a bit
ugly. (I was also hoping that ggplot had some magic
to do this automatically, but position_dodge doesn't
seem to work in this context ...)
Ben Bolker
library(ggplot2)
nx <- 3
ngrp <- 5
nper <- 4
x <- rep(1:nx,ngrp*nper)
y <- runif(nx*ngrp*nper)
g <- factor(rep(1:ngrp,each=nx*nper))
dat <- data.frame(x,y,g)
se <- with(dat,tapply(y,list(g,x),sd)/table(g,x))
means <- with(dat,tapply(y,list(g,x),mean))
limits <- aes(ymax=means+se,ymin=means-se)
gg <- factor(re...
2015 Jul 14
4
Conservar el nombre de la variable entre varias funciones: ejemplos de resultados
...(get(XVD) ) )
{
if ( is.factor(get(XVARNOMT)) )
{
UNI_VDQVIQ (XVD=get(XVD), XVDT=XVD, XVARNOM=get(XVARNOMT), XVARNOMT=XVARNOMT, XCAMIF=XCAMIF)
}
else if( is.numeric(get(XVARNOMT)))
{
cat("\nVD=Qualitativa i VI=Numèrica: UNI_VDQVIN\n")
cat("\nPer fer \n")
}
}
else if (is.numeric(get(XVD) ) & is.null(XSPV) ) # VD Num però no temps
{
if ( is.factor(get(XVARNOMT)) )
{
cat("\nVD=Numèrica i VI=Qualitativa: UNI_VDNVIQ\n")
cat("\nPer fer \n")
}
else if( is.numeric(get(XVARN...
2007 Aug 01
1
Problem to remove loops in a routine
...er of columns per
Trellis plot
nTrellisRow<-3 #number of lines per
Trellis plot
nDVID<-nlevels(factor(mydata$DVID)) #number of
DVID=observations types
nidPlot<-nlevels(factor(mydata$PLOT)) #number of items in the
PLOT column
nPer<-nlevels(factor(mydata$OCC)) #number of occassions
(OCC, PER, etc...)
nGRP<-nlevels(factor(mydata$GRP)) #number of groups
pdf(file=paste(myPath,"test.pdf",sep=""))
trellis.par.set(par.main.text=list(cex=1))
trellis.par.set(par.ylab.text...
2009 Apr 13
0
encoding -> decoding doesnt work
...s];
int encodedBytes =
speex_bits_write(&bits,encodedArray,nBytes);
printf("Encoded: %d \t",encodedBytes);
total += encodedBytes;
encoded = (char*)realloc( encoded, total );
memcpy( (encoded+total-encodedBytes), encodedArray,
encodedBytes );
}
printf("\n\nTotally: %u\nper Item: %f\n\n", total,
(float)total/(amountSamples/frame_size) );
speex_bits_destroy(&bits);
speex_encoder_destroy(enc_state);
// ###########################
// decoding
// ###########################
SpeexBits dec_bits;
void *dec_state;
const SpeexMode *dec_mode;
dec_mode = sp...
2000 Oct 09
2
nls question
...in the current
scope. Part of the data frame is presented below. At the moment I fit the
model for each task seperately. But now I cannot test the parameters for
equality. A solution like in Bills case would be great.
task type cor x var median stdev count
pp nper nsw age
266 DS Repetition Correct 581.2427 108609.931 499.0 329.56021 103 007
22 17 19
267 TS Repetition Correct 508.1159 31364.839 461.0 177.10121 69 007
0 0 19
268 SRT Repetition Correct 215.8182 14352.028 188.0 119.79995 33 007
0 0 19
269 CRT-1 Repetition Correct...