Displaying 20 results from an estimated 1000 matches similar to: "Factor analysis of categorical or mixed categorical/continuous data in"
2002 Jan 08
3
Finding functions in uninstalled libraries
(Many thanks to David Barron & Jonathan Baron for pointing me to 'recode' in
the 'car' package).
I think I've been told this before, but how do I search for a
function/keyword in libraries I don't yet have installed?
(ie. on the CRAN site I tried the search engines with "recode" etc., but
didn't pick up the car package this way)
Stuart
Dr Stuart Leask
2002 Jan 18
1
RE: z-scores for different factor levels
Hi Stuart,
I often use this small function
standardize <- function(x) ( x - mean(x, na.rm=T) ) / sqrt(var(x,
na.rm=T))
to standardize variables.
You should be able to use this to do what you want by splitting the data
frame into sections based on the factor level, using standardize() to create
a new variable in each section, then paste the data frame back together.
Something like:
#
2002 Jan 18
0
RE: z-scores for different factor levels
Brian Ripley pointed out that there is already an R function scale() that
does the work of my standardize().
-Greg
-----Original Message-----
From: Warnes, Gregory R
Sent: Friday, January 18, 2002 9:38 AM
To: 'Stuart Leask'
Cc: 'r-help at stat.math.ethz.ch'
Subject: RE: z-scores for different factor levels
Hi Stuart,
I often use this small function
standardize <-
2002 May 03
2
an info on 3d representation
Dear list,
sorry to waste your time. I downloaded R and I like it very much.
However, my main interest is in plotting 3D graphics form imported data
(points and lines in a 3d space). I imported data in a very elegant way
but I wasn't able to find in R something similar to the simple "splot"
function of WGNUplot (I don't need persp, image, contour: my values are
not
2001 Mar 10
1
Bug in qchisq?
Hello developers and users:
My system fails (the computer freezes) when I use the ncp parameter,
with the lower.tail=FALSE option in the qchisq function.
qchisq(0.025,31,ncp=1,lower.tail=FALSE)
Thank you very much for your help.
Kenneth Cabrera
Universidad Nacional de Colombia
ICNE
Sede Medellin
krcabrer at perseus.unalmed.edu.co
PS
I am using:
$platform "i386-pc-mingw32"
2001 Sep 18
4
help in a separate window under linux
Hi there.
R v1.3.0, Slackware linux 7.1 or Windows 98SE, PII 266, 64Mb RAM.
I notice that under windows, R puts help info (ie. the response to
'?<function>') into a new window, whereas under linux, it puts it into the
main console window. I find the former much more helpful when checking a
function's syntax.
Is there a simple way of configuring R under linux to put its help
2002 Jan 09
1
value labels from read.spss()?
>From owner-r-help at stat.math.ethz.ch Wed Jan 9 10:08:44 2002
>
>Does anyone know how to access/list the value labels stored in a SPSS .sav
>file?
>At the moment I can read in variables using read.spss() (foreign package),
>but have to power up SPSS to check value labels.
>
>Stuart
There may be a solution to this in R, and I would love to hear
it, but I was just faced
2003 Feb 19
4
Help in separate window under X11
Dear R users,
Is there the possibitily in R under X11 to get (after typing help(...)
command) separate help window, as it is in Windows version?
Best wishes,
=================================
Dr. Alexey B. Shipunov
Section of Molecular Systematics
Jodrell Laboratory
Royal Botanic Gardens, Kew,
Richmond, Surrey, TW9 3DS, U.K.
e-mail: a.shipunov at rbgkew.org.uk
2002 Jan 06
2
Passing names of variables to functions
Hi,
I am still new to R and have a programming question. I have created a
small function which takes a parameter. In the function I want to be able
to refer to the names of the variables sent to the function (specifically
I want to be able to use the name of the variable given to the function in
an output table). For example, in the following (fictional) function I
want some way of printing
2006 Jul 30
3
main= bquote(paste("Results for ", beta, "3", ==.(b1)))) doesn't work.
Hi,
I need to plot the beta as the symbol, followed by the index 3 as the title of a graph.
This code works> main= bquote(paste("Results for ", beta ==.(b1))
but I also need the index 3.
I tried (simplified):
>plot(x,y, main= bquote(paste("Results for ", beta, "3", ==.(b1))))
and a few other versions, but I can not get it to run properly.
Any help would
2001 Mar 22
3
More powerful than objects() or ls()
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 2.1
year 2001
month 01
day 15
language R
For years, I used a function in Splus to give me more information than
just the object names which
2001 Sep 21
4
How to change the levels of a variable???
Hi,
I have a simple question.
I have a variable with 3 levels.
Variable
A A A A A A
B B B B B B
C C C C C C
I need to make a new vector renaming de levels B and C for D.
NewVariable
A A A A A A
D D D D D D
D D D D D D
I dont find how to make it in manuals or in this list.
Can anyone help-me???
Thank you
Ronaldo
--
Agnes' Law:
Almost everything in life is easier to get into than out of.
2002 Jul 11
3
R GUI For Which User?
I also agree with Philippe Grosjean that there is a need to investigate the
effects of different types of GUIs on software "usability". To do that,
however, there is a need to develop a set of appropriate metrics, and to
understand that the appropriateness of a given metric (and ultimately a given
type of GUI) is likely to be conditional on the type of user.
My sense is that the
2002 Jun 25
4
re: GUI's for teaching
Hi,
Have you seen the tcltk package? I believe it is a better option than the
one you outline in your message. Why develop a Windows-only GUI? Maybe in a
few years your teaching department will give up Windows for Linux (for the
reasons you wrote about R: it is free, advanced, and adaptable). There is
an article in R News (vol.1, n?3) by Peter Dalgaard on the tcltk package,
and the latter
2008 Jan 28
1
Integer vs numeric
Hi the list.
I do not understand the philosophy behind numeric and integer.
- 1 is numeric (which I find surprising)
- 2 is numeric.
- 1:2 is integer.
Why is that ?
Christophe
2002 Feb 21
2
Re: Factor analysis of categorical or mixed categorical/continuousdata in
I am looking to fit one or more latent categorical variables to data that is
a mixture of categorical and continuous variables. Factor analysis would
work for continuous data, latent class analysis for categorical data. I
understand that in a package such as MPlus I could perform a single analysis
of both data types. Are there similar routines available in R?
Stuart
-----Original Message-----
2012 Oct 23
10
How to pick colums from a ragged array?
I have a large dataset (~1 million rows) of three variables: ID (patient's name), DATE (of appointment) and DIAGNOSIS (given on that date).
Patients may have been assigned more than one diagnosis at any one appointment - leading to two rows, same ID and DATE but different DIAGNOSIS.
The diagnoses may change between appointments.
I want to subset the data in two ways:
- define groups
2012 Jun 22
3
removing NA from a data frame
Removing rows with NAs, using na.omit(), doesn't seem to be working for me.
Dataset:
> str ( ex10s )
'data.frame': 2189576 obs. of 5 variables:
$ LOPNR : int 58 58 58 58 64 64 64 64 64 64 ...
$ DIAGNOS: Factor w/ 173 levels "F20","F200","F2000",..: 128 128 128 128 105 105 105 160 105 105 ...
$ X_DATE : int 20060821 20061207 20080102 20090904
2011 May 05
1
Why is PQMSTATUS empty?
Hey all!
I'm trying to do a bit of logic here so that a user only has to dial one
code to pause/unpause in a queue (e.g. *0 will (un)pause depending on the
users's state). My logic looks fine to me but every time ${PQMSTATUS} shows
up empty.
Here's the extensions.conf part....
exten => *0,1,NoOp(${PQMSTATUS})
exten => *0,n,Macro(user-callerid,SKIPTTL,)
exten =>
2003 Mar 06
1
[stuart.leask@nottingham.ac.uk: R in your pocket on a Sharp Zaurus]
Ah, but the interesting thing is that they are coming out with a 'clam'
version like the 5MX. Details are limited at the moment, but that could
mean the combination of 5MX usability with a supported linux distro. I
am drooling in anticipation. Sounds like a "I've finally finished my
PhD and deserve a treat" situation to me :)
Dave
On Thu, Mar 06, 2003 at 09:17:20AM