search for: describeby

Displaying 6 results from an estimated 6 matches for "describeby".

Did you mean: describe
2018 Oct 09
3
Generar nombres de vectores dentro de una función y asignarles valor
...tar Google: Tengo una función que tiene que generar unos vectores, para después evaluarlos y devolverme el resultado; necesito que genere los nombres de los vectores y asignarles valores. Y No sé ni hacerlo ni decirlo con pocas palabras. a function(describir, segun.variable) { matriz <- psych::describeBy(describir ,segun.variable , mat=T) for (i in names(matriz){ paste("QUID.DE.LA.CUESTION", "i", sep="") <- matriz[1:4, i] } resultado <- intersect(QUID.DE.LA.CUESTION.mean, QUID....TION.sd....) return(resultado) } ¿Cómo se resuelve el quid de la cuestión? ¿Q...
2013 Jun 15
2
quick Help needed
Hi, i am new to this forum and not sure how it works, I am trying to do deskriptive descripe my data in terms of gender: head(scltotal) pbnr dat dep dys sop ago mis age female messpunkt2 messpunkt1 tage eintrittsjahr 1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817 8817 0 1994 2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75 35 1 8910 8817
2016 Apr 27
1
error.crosses
Hello all, I have used describeBy to generate the following summary statistics. I simply need x and y error bars on a plot that has CQN (xaxis) and Price (yaxis). There should be four total points on the graph (one for each supplier). Using "error.crosses(desc$CQN, desc$Price)" does not work. group: a vars...
2013 May 17
0
Mean using different group for a real r beginner
...?library(data.table) ?tolerance1<- data.table(tolerance) ?tolerance1[,list(exposure=mean(exposure)),by=male] #?? male exposure #1:??? 0 1.246667 #2:??? 1 1.120000 #or sapply(split(tolerance,tolerance$male),function(x) mean(x$exposure)) #?????? 0??????? 1 #1.246667 1.120000? #or library(psych) ?describeBy(tolerance$exposure,tolerance$male,mat=TRUE)[c(2,5)] #?? group1???? mean #11????? 0 1.246667 #12????? 1 1.120000 #or library(doBy) summaryBy(exposure~male,data=tolerance,FUN=mean) ?# male exposure.mean #1??? 0????? 1.246667 #2??? 1????? 1.120000 A.K. >Hi there, > >I'm new to R...
2016 Apr 27
0
error.crosses
Hello all, I have used describeBy to generate the following summary statistics. I simply need x and y error bars on a plot that has CQN (xaxis) and Price (yaxis). There should be four total points on the graph (one for each supplier). Using "error.crosses(desc$CQN, desc$Price)" does not work. group: a vars...
2012 Dec 29
0
thanks -- Re: syntax for identifying more than one
...n=mean(x),sd=sd(x),n=length(x))) #or with(test,aggregate(incidents,by=list(id,year),function(x) c(mean=mean(x),sd=sd(x),n=length(x)))) #or library(data.table) test1<- data.table(test) test1[,list(mean=mean(incidents),sd=sd(incidents),n=length(incidents)),by=list(id,year)] library(psych) res<-describeBy(test[,3],group=list(test$id,test$year),mat=FALSE) res #: 100 #: 1 #? var n mean??? sd median trimmed?? mad min max range skew kurtosis?? se #1?? 1 2 13.5 19.09?? 13.5??? 13.5 20.02?? 0? 27??? 27??? 0??? -2.75 13.5 #------------------------------------------------------------ #: 101 #: 1 #? var n m...