713178
Fax: +357-22-590539
Honorary Research Fellow
Department of Education
The University of Manchester
Oxford Road, Manchester M13 9PL, UK
Tel. 0044 161 275 3485
iasonas.lampria...@manchester.ac.uk
--- On Mon, 7/6/10, Joris Meys wrote:
> From: Joris Meys
> Subject: Re: [R] pretty
713178
Fax: +357-22-590539
Honorary Research Fellow
Department of Education
The University of Manchester
Oxford Road, Manchester M13 9PL, UK
Tel. 0044 161 275 3485
iasonas.lampria...@manchester.ac.uk
--- On Mon, 7/6/10, Jim Lemon wrote:
> From: Jim Lemon
> Subject: Re: [R] pretty
On 06/07/2010 02:49 AM, Iasonas Lamprianou wrote:
Hi all,
does anyone have any practical examples of how this command can be used in
prettyR?
add.value.labels(x,value.labels)
I mean, can we have the SPSS style of using numbers and/or labels if we want to?
Thank you for your time
Hi Jason,
Th
Very simple as explained in the help files:
> X <- 1:5
> X
[1] 1 2 3 4 5
> add.value.labels(X,letters[1:5])
[1] 1 2 3 4 5
attr(,"value.labels")
a b c d e
1 2 3 4 5
> X
[1] 1 2 3 4 5
X didn't change.
> X <- add.value.labels(X,letters[1:5])
> X
[1] 1 2 3 4 5
attr(,"value.labels")
a b c d e
1 2 3
Sorry if I could not understand your problem properly. Are you looking for
this type of example?
> assign(paste("x", 1, "level", sep=""), 4)
> x1level
[1] 4
Thanks,
--
View this message in context:
http://r.789695.n4.nabble.com/prettyR-tp2245115p2245210.html
Sent from the R help mailing list
Hi all,
does anyone have any practical examples of how this command can be used in
prettyR?
add.value.labels(x,value.labels)
I mean, can we have the SPSS style of using numbers and/or labels if we want to?
Thank you for your time
Jason
Dr. Iasonas Lamprianou
Assistant Professor (Educational
Dear Jim and R helpers,
I cannot recall an object labelled for an xtab function (prettyR package) in
R 2.10.1, but it works well in previous version, say 2.8.1 (I am using PC,
Window XP service pack 3)
Could you please check this problem?
Many thanks
Nguyen D Nguyen
Garvan Institute, Sydney
For e
On 6/19/2008 1:54 PM, stephen sefick wrote:
#is there a way to get NA in the table of descriptive statistics instead of
the function stopping Thank you in advance
Replace sd() with something like this:
mysd <- function(x, na.rm=TRUE){ifelse(all(is.na(x)), NA, sd(x,
na.rm=TRUE))}
Or con
#is there a way to get NA in the table of descriptive statistics instead of
the function stopping Thank you in advance
#data
x.f <- structure(list(Site = structure(c(9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L), .Label = c("BC", "HC",
stephen sefick wrote:
> I am using the describe function in prettyR. I would like to add the
> 25% 75% quartiles to the summary table
>
> how do I do this
>
> I have tried
>
> describe(x.f, num.desc=c("mean", "median", "sd", "min", "max",
> "skewness", "quantile(x.f, na.rm=T, probs=seq(0.25, 0.
I am using the describe function in prettyR. I would like to add the
25% 75% quartiles to the summary table
how do I do this
I have tried
describe(x.f, num.desc=c("mean", "median", "sd", "min", "max",
"skewness", "quantile(x.f, na.rm=T, probs=seq(0.25, 0.75))",
"valid.n"))
help
--
Let's not
11 matches
Mail list logo