search for: numsummary

Displaying 17 results from an estimated 17 matches for "numsummary".

2009 Oct 26
2
basic statistics to csv
I know that my question is like a very newbie question, but at the moment I stacked with it and I need a quick solution. I need to make an overall statistical overview of various datasets, the summary() and numSummary() functions are fully sufficient. My question is, how can I export results to a spreadsheet-like file, as a .csv. For the summary() with an "x" dataset I can use this way: su <- summary(x) write.csv(su, file = "summary.csv") The problem with this is that the csv file is rat...
2007 Dec 05
1
alternatives to latex() or xtable() ?
Hello everyone, I have several problems with exporting to LaTeX the output of numSummary() from the abind package. > numSummary(finance[,"Cash_flow"], statistics=c("mean", "sd", "quantiles")) mean sd 0% 25% 50% 75% 100% n NA 188070.9 414771.9 -426804 26743 53866 150975.5 1871500 54 4 > xtable(numSummary(fina...
2011 Nov 22
1
Rcmdr numSummary: means of multiple variables without grouping
Hello there, when using the function numSummary in Rcmdr and selecting more than one variable (without grouping), the grand mean across all variables is returned for each variable instead of the mean of each single variable. However, this happens only for the mean, and not for sd, quantiles and na. This is the output: > numSummary(dat...
2008 Dec 03
0
Hmisc latex() and Rcmdr numSummary() percentage issues
Dear R users, I have issues regarding latex() from Hmisc and numSummary() from Rcmdr. Here's an example: > library(Rcmdr) > data(Angell, package="car") > numSummary(Angell[,"hetero"], statistics=c("mean", "sd", "quantiles"), quantiles=c( 0,.25,.5,.75,1 )) > .numSummary <- popOutput() > latex(as.tab...
2007 Dec 05
0
Export to LaTeX using xtable() - Control the digits to the right of the separator [solved]
Hello everyone, The thread title speaks for itself. Here's the code that worked for me: > numSummary(finance[,"Employees"], statistics=c("mean", "sd", "quantiles")) mean sd 0% 25% 50% 75% 100% n NA 11492.92 29373.14 1777 3040 4267 6553 179774 53 5 > str(numSummary(finance[,"Employees"], statistics=c("mean", "...
2009 Jul 21
3
how to use a list to create a plot
I issued the following command to obtain the std dev for each month. psd<-numSummary(Sal, groups=month, statistics=c("sd")) which resulted in > psd sd n NA 1 6.930340 9367 2319 2 7.847003 10827 1008 3 5.962308 12988 404 4...
2012 Dec 29
0
thanks -- Re: syntax for identifying more than one
HI Greg, Sorry, I misunderstand your question. I am not sure whether it works with numSummary() from library(Rcmdr). You could use other ways, such as: test<-read.table(text=" ?id year incidents ?100??? 1??????? 0 ?101??? 1??????? 1 ?102??? 1??????? 21 ?100??? 1??????? 27 ?101??? 1??????? 3 ?102??? 1??????? 12 ?100??? 2??????? 5 ?101??? 2??????? 5 ?102??? 2??????? 19 ?100??? 2?????...
2009 Sep 01
2
numerical summaries across variables.
Hi Every one, I have a dataframe "class" with "name", "sex", "age", "height", "Weight". if i caluclate summary statistics with the below code numSummary(class[,c("Height", "Weight")], groups=class$Name, statistics=c("mean", "sd", "quantiles"), quantiles=c(0, .25,.5,.75,1)) iam getting output like this Variable: Height mean sd 0% 25% 50% 75% 100% n Alfred 69.0 NA 69.0 69.0 69.0 69....
2012 Apr 20
4
Problem with Tukey test
...um Sq Mean Sq F value Pr(>F) trat 4 11847 2961.76 9.9905 1.500e-06 *** Residuals 76 22531 296.46 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 14 observations deleted due to missingness > numSummary(apilados$area , groups=apilados$trat, statistics=c("mean", > "sd")) mean sd n NA X1 79.29625 15.06667 16 3 X2 77.43400 10.64849 15 4 X3 71.19895 15.85500 19 0 X4 77.80938 24.67359 16 3 X5 45.97200 16.65112 15 4 > TukeyHSD(AnovaModel.2)...
2018 Mar 06
0
couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
Hi For first question, maybe I am completely wrong but cor(swiss[,-1], swiss[,1]) should give you what you want in one step. Second question Without an example it is hard to say but maybe aggregate is the way forward. > aggregate(iris[,1:4], list(iris$Species), function (x) c(mean=mean(x), sd=sd(x))) Group.1 Sepal.Length.mean Sepal.Length.sd Sepal.Width.mean Sepal.Width.sd 1
2006 Aug 30
0
Version 1.2-0 of the Rcmdr package
I've submitted a new, and substantially enhanced, version (1.2-0) of the Rcmdr package to CRAN. Some highlights (from the CHANGES) file: o Added ability to import from Excel, Access or dBase files (contributed by Samir Messad, Renaud Lancelot and Matthieu Lesnoff). o Added ability to read data from the clipboard (suggested by Graham Smith). o Added "Data -> Active data
2006 Aug 30
0
Version 1.2-0 of the Rcmdr package
I've submitted a new, and substantially enhanced, version (1.2-0) of the Rcmdr package to CRAN. Some highlights (from the CHANGES) file: o Added ability to import from Excel, Access or dBase files (contributed by Samir Messad, Renaud Lancelot and Matthieu Lesnoff). o Added ability to read data from the clipboard (suggested by Graham Smith). o Added "Data -> Active data
2011 Oct 17
2
Cargar un comando especifico de una libreria
Hola a tod en s, me gustaría usar solo un(os) comando(s) específico(s) de una librería pero sin cargarla entera a la manera: library(laquesea) ¿se puede hacer de alguna manera? Y saludos y gracias jm~ _______________________________ J. Miguel Marin http://www.est.uc3m.es/jmmarin Dep. of Statistics University Carlos III of Madrid Spain (E.U.)
2018 Mar 06
5
couple of how-to-do it in R questions regarding corelations and mean and SD of likert items
Dear list, I have the following how-to-do it in R, questions. Suppose I have ten independent variables, and one dependent variable. I want to find the Pearson correlation of all the IVs with the DV, but not the correlation between the IVs. What I know so far, about R, that I have to type the cor () function ten times, each time requesting for a correlation between one IV and the DV. I was
2009 Nov 21
4
other decriptive stats packages
i just found the following list, i wondered if anybody could add to this as i have to characterize a large data set and am new to R...the list below was so helpful....can you add to this??? Just to forestall confusion amongst those who would like to use one of the functions called "describe"... Hmisc package - describe numeric name count of observations count of missing
2009 May 15
4
replace "%" with "\%"
Dear all, I'm trying to gsub() "%" with "\%" with no obvious success. > temp1 <- c("mean", "sd", "0%", "25%", "50%", "75%", "100%") > temp1 [1] "mean" "sd" "0%" "25%" "50%" "75%" "100%" > gsub("%",
2008 Oct 11
6
Sweave-LaTEX question
Hi: I am working on a publication and I have heard about LaTEX but I haven't actually tried to learn about it until today. I've found a few examples but I can't actually make them work properly. I have a couple of questions: Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table as pdf file?