Dear list members,
I am trying, within a lapply command, to print the name of the objects
in list or data frame. This is so that I can use odfWeave to print out a
report with a section for each object, including the object names.
I tried e.g.
a=b=c=1:5
lis=data.frame(a,b,c)
lapply(
lis, function
Thanks Prof Ripley! How obvious in retrospect!
Prof Brian Ripley wrote:
On Thu, 4 Sep 2008, Steve Powell wrote:
Dear list members,
I am trying, within a lapply command, to print the name of the objects
in list or data frame. This is so that I can use odfWeave to print out a
report with a
y stuck.
If someone could put me on the right track I could be more specific with
reproducible examples etc
Best Wishes
Steve Powell
**details of Lahirie method as we used it: the schools were
put into a list in order of ascending size (student population) and this
list was divided
For psychologists like me (possibly for others) by far the most
time-consuming detail is variable labels. I need them for just about
every analysis I do. We can use special packages like Hmisc and its
function spss.get to import the labels, but then nearly all the other
packages don't respect the l
Dear expeRts
Is it not the case that very many multi-level datasets have associated
sample weights? But then I don't see a way to include them in the
analyses? Or, how can I make nlme talk to the "survey" package?
Best Wishes
Steve
__
R-help@r-project.o
or lavaan packages, to use in further analyses?
Best wishes
Steve Powell
www.promente.org | skype stevepowell99 | +387 61 215 997
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-p
SPSS.
>
> I don't understand what you mean with scores in the context of
> structural equation modelling. Lavaan is unknown to me.
>
> Cheers
> Joris
>
> On Tue, Jun 22, 2010 at 3:11 PM, Steve Powell wrote:
>> Dear expeRts,
>> sorry for such a new
Structural equation modelling combines those observed variables
> exactly to be able to take the variation on the combined latent
> variable into account. If you use those latent variables as input in a
> second analysis, you lose the information regarding the variation.
>
> Cheers
&g
Any advice on which package I can use for calculating effect sizes for two
dependent samples? compute.es seems only to consider independent samples.
Thanks in advance
Steve Powell
[[alternative HTML version deleted]]
__
R-help@r-project.org
Dear all,
I can't get the labels slot in ICLUST to accept a character vector.
library(psych)
test.data <- Harman74.cor$cov
ic.out <- ICLUST(test.data,nclusters
=4,labels=letters[1:ncol(test.data)]) ## Error in !labels : invalid
argument type
ic.out <- ICLUST(test.data,nclusters =4,labels=1:ncol(tes
)
presumably my zip and unzip are not set up correctly but I dont know how to do
that. I installed zip and unzip from info-zip.org as suggested in the help
file, and think I managed set my Windows path to include the folders where they
are installed, but still no luck. Any ideas?
thanks
Steve Powell
calculate a covariance
matrix of the questionnaire scores for use in sem. How do I apply the weights?
Thanks in advance,
Steve Powell
www.promente.org
proMENTE social research
Krančevićeva 35
71000 Sarajevo
skype stevepowell99
mob. +387 61 215 997
tel. +387 33 556 865
fax. +387 33 556 866
with
attributes, labels etc. So
assign(label(obj),"some label") #doesn't even work outside a function, at
the command prompt.
Any more ideas anyone?
Best wishes
Steve Powell
proMENTE social research
research | evaluation | training & consulting
Kranjčevićeva 35, 71000
www.psih.org
-Original Message-
From: Frank E Harrell Jr [mailto:[EMAIL PROTECTED]
Sent: 17 September 2007 17:18
To: Steve Powell
Cc: [EMAIL PROTECTED]
Subject: Re: [R] Creating Hmisc labels inside a function
Steve Powell wrote:
>
> Thanks, Frank - it doesn't work though.
>
Dear list members,
In sem, std.coef() will give me standardized coefficients from a sem model.
But is there a trick so that path.diagram can use these coefficients rather
than unstandardized ones?
Thanks
Steve Powell
From: John Fox
Date: Wed 28 Feb 2007 - 14:37:22 GMT
Dear Tim,
See
coeff)$"Pr(>|z|)" into the loop.
Very best wishes
Steve Powell
proMENTE social research
research | evaluation | training & consulting
Kranjčevićeva 35, 71000 Sarajevo
mobile: +387 61 215 997 | office: +387 33 556 865 | fax: +387 33 556 866
skype: stevepowe
Dear Sumit
Tinn-R is a little text editor which can do all that and more:
http://www.sciviews.org/Tinn-R/
Best wishes
Steve Powell
proMENTE social research
research | evaluation | training & consulting
Kranjčevićeva 35, 71000 Sarajevo
mobile: +387 61 215 997 | office: +387 33 556 865 |
Dear list members
I would like to apply a vector of labels
v=c("lab1","lab2","lab3")
to a dataframe
df=data.frame(1:3,1:3,1:3)
using some kind of loop or apply function.
Any ideas?
Thanks
Steve Powell
Checked by AVG Free Edition.
17:03
[[al
o
label(df$a)="lab1"
label(df$b)="lab2" etc
Or
attributes(df$a)$label="lab1" etc
But I would like to do this with a loop or an apply function.
Thanks and best wishes
Steve Powell
proMENTE social research
research | evaluation | training & consulting
Kranj
sion but can't seem to get
it right. Any ideas?
Thanks in advance
Steve Powell
proMENTE social research
research | evaluation | training & consulting
Kranjčevićeva 35, 71000 Sarajevo
mobile: +387 61 215 997 | office: +387 33 556 865 | fax: +387 33 556 866
skype: stevepowell99
t;)
I usually use the "assign" function to make assignments inside functions,
but assign will not work with attributes, labels etc.
Any ideas?
Thanks in advance
Steve Powell
proMENTE social research
research | evaluation | training & consulting
Kranjčevićeva 35, 71000 Sarajevo
mobil
21 matches
Mail list logo