Displaying 20 results from an estimated 180 matches similar to: "thanks -- Re: syntax for identifying more than one"
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.table(.numSummary$table),
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
>
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:
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(dataset1 [,c("var1", "var2")],
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"],
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
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 Apr 20
4
Problem with Tukey test
I'm new using R im trying to do a tukey test, but when i see the results the
p value results in NA im guessing its because i have missing values but im
not sure how to fix it
AnovaModel.2 <- aov(area ~ trat, data=apilados)
> summary(AnovaModel.2)
Df Sum Sq Mean Sq F value Pr(>F)
trat 4 11847 2961.76 9.9905 1.500e-06 ***
Residuals 76 22531 296.46
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("%",
2010 Jul 19
0
to extend data.frame or not ... that is the question
I am designing a package to analyze fire department data. I created an S4
class called CAD (short for Computer Aided Dispatch data) as part of this
package that essentially extends the data.frame class. When the user
initializes a CAD object, a data.frame object is broken down into seperate
incident data and unit response data that are stored in separate slots.
This separation is intentional
2010 Sep 08
2
dataframe selection using a multi-value key
I am merging two dataframes using a relational key (incident number and
incident year), but not all the records match up. I want to be able to
review only the records that cannot be merged for each individual dataframe
(essentially trying to select records from one dataframe using a multi-value
relational key from the other dataframe). The following code shows what I
am trying to do. The final
2011 May 27
2
help with barplot
Hi,
I'm really struggling with barplot
I have a data.frame with 3 columns. The first column represents an
"incident" type
The second column represents a "month"
The third column represents a "time"
Code for a sample data.frame
incidents <- rep(c('a','b','d','e'), each =25)
months <- rep(c(1,2), each =10)
times
2004 Aug 06
0
icecast on port 80 NOT as root
Thanks for the tips. I did find a detailed article on how to run Icecast
1.3.x in a chroot jail at incidents.org (actually it's in Google's
cache, couldn't find it on incidents.org site anymore):
http://216.239.37.100/search?q=cache:8Jnwn-j8Yh4C:www.incidents.org/protect/borland.php+icecast+chroot+jail&hl=en&ie=UTF-8
It doesn't really solve the problem of running Icecast
2012 Jun 22
1
Plotting linear fit
I am trying to plot the linear fit by id of the following data (test.l):
id year incidents
100 1 0
101 1 1
102 1 21
103 1 27
104 1 3
105 1 12
100 2 5
101 2 5
102 2 19
103 2 10
104 2 2
105 2 12
100 3 0
101 3 0
102 3 22
103 3 14
104