Thank you for the helpful reply! I am relatively new to R (the
software and the community) and was not aware of the example galler.
Now I am. The example you found looks very close to what I am trying
to do and I should be able to modify it.
Best - P
On Tue, Jun 9, 2009 at 4:45 PM, Titus von der
i am working with two sets of likert scale type (4 distinct values) data:
dataA <- rep(1:4, c(3,2,2,4))
dataB <- rep(1:4, c(5,4,3,2))
i can now (bar)plot both of these separately and compare the distributions.
plot(table(dataA), type='h')
plot(table(dataB), type='h')
is there a way to plot both
probably better ways to do what you want, Romain's second example
> is one way.
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.s...@imail.org
> 801.408.8111
>
>
>> -Original Message-
>> From: r-
On Fri, May 15, 2009 at 3:38 PM, Romain Francois
wrote:
> Hi,
>
> You can either parse and eval the string you are making, as in:
>
> eval( parse( text = paste("avg_",colname, " <- 0;", sep='') ) )
>
>
> Or you can do something like this:
>
> df[[ paste( "avg_", colname, sep = "" ) ]] <- 0
>
Than
Hi:
I very recently started experimenting with R and am occasionally
running into very basic problems that I can't seem to solve. If there
is an R-newbies forum that is more appropriate for these kinds of
questions, please direct me to it.
I'd like to automatically add vectors to a dataframe. I a
5 matches
Mail list logo