Good morning everyone,
I am running into errors with poLCA as follows:
Error in round(mf) : non-numeric argument to mathematical function.
Here is what I have. Both variables are coded as 1, 2, 3
df <- as.data.frame(data)
items <- c("x1", "x2") <- there are more variables but shortened for th
FORWARDED – The following message has been forwarded and is not related to the
University of Guelph.
Apologies for the cross-posting.
Good morning everyone. We sincerely hope you are all keeping safe and healthy
while we all endure this pandemic.
As a result of the restrictions on public gathe
mp.N ) ) +
geom_bar( stat = "identity", position = "dodge", colour = "black" ) +
facet_wrap( ~ Measure, ncol = 1, scale = "free_y" ) +
ylab( "" )
On Sat, 20 Apr 2019, Scott Colwell wrote
I am trying to figure out how to create a hanging bar plot from dplyr.
I have used dplyr as follows:
table4 <- cr %>%
group_by(samp.N, RSQ) %>%
summarize(
MRB_uc = mean(CF.F1F2/0.40*100)-100,
MRB_sb = mean(SBC.F1F2.Alpha/0.40*100) - 100,
MRB_bp = mean(BPC.F1F2.Alpha/0.40*100) - 100
Apologies for any cross-postings.
Just a reminder that registration is open for four quantitative methods
workshops in May of 2019. Each workshop features hands-on examples in Mplus and
R, plus lots of opportunities to discuss the analysis for your own research.
For more information and to regist
Hello,
Does anyone know if all the R packages that are available for Windows users are
also available for Mac users?
Thank you,
Scott
--
Scott R. Colwell, Ph.D.
Associate Professor, Dept. of Mkt/Cons Studies
Adjunct Professor, Dept. of Psychology
University of Guelph
Guelph, Ontario, Canada
Hello,
I apologies for bringing up next and break in loops given that there is so
much on the net about it, but I've tried numerous examples found using
Google and just can't seem to get this to work.
This is a simple version of what I am doing with matrices but it shows the
issue. I need to have
I think I have one solution. Not very pretty though. Relies on the text not
changing at all.
as.numeric(gsub("Mean relative difference: ", "",
all.equal(cov2cor(ITEMCOV),cor(item.data))[2]))
Is there a better way?
--
View this message in context:
http://r.789695.n4.nabble.com/Saving-Mean-Rela
Hello,
Does anyone know how to save the numeric value of the "mean relative
difference" when using the all.equal() command?
For example this:
all.equal(cov2cor(ITEMCOV),cor(item.data))
Gives:
[1] "Attributes: < Length mismatch: comparison on first 1 components >"
[2] "Mean relative difference
Thanks everyone
--
View this message in context:
http://r.789695.n4.nabble.com/Extracting-Factor-Pattern-Matrix-Similar-to-Proc-Factor-tp4703704p4703904.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing lis
Thanks David. What do you do when the input is a covariance matrix rather
than a dataset?
--
View this message in context:
http://r.789695.n4.nabble.com/Extracting-Factor-Pattern-Matrix-Similar-to-Proc-Factor-tp4703704p4703719.html
Sent from the R help mailing list archive at Nabble.com.
_
ERN';
DROP _TYPE_ _NAME_;
RUN;
Would any SAS IML to R converts be able to help me with this?
Thanks,
Scott Colwell, PhD
--
View this message in context:
http://r.789695.n4.nabble.com/Extracting-Factor-Pattern-Matrix-Similar-to-Proc-Factor-tp4703704.html
Sent from the R help mailing
12 matches
Mail list logo