First, a histogram would not be appropriate (your data appear to be
categorical - a histogram is for continuous numeric vales) - you would need
a bar plot. You should make two vectors (one for the category names and the
other for the frequencies) and use the barplot function.
On Fri, Nov 9, 2018 a
You need to include the argument "mu=1" (without parentheses). For example:
> t.test(group1,group2, mu=1)
for a two-sample independent groups t-test. If you type:
> ?t.test
you can see the help information for the t.test function.
RIck
On 09/08/2016 08:06 AM, Matti Viljamaa wrote:
I’m tryin
On 01/22/2016 10:46 AM, li li wrote:
Hi all,
I encountered the following strange phenomenon.
For some reason, the obs_p[1] and res1$st_p[89] have
the same value but when I run "==", it returns FALSE.
Can anyone help give some explanation on this?
Thanks very much!
Hanna
obs_p[1]
[1]
Have you considered using the semPlot package? It works nicely with
lavaan models (among other sem packages). There is also the DiagrammeR
package.
Rick
On 06/23/2015 10:48 AM, DzR wrote:
Dear Senior users of R/R Studio,
I am very new to this environment hence am unable to plot the SEM model
On 09/15/2014 10:57 AM, eliza botto wrote:
Dear useRs of R,
I have two datasets (TT and SS) and i wanted to to see if my data is uniformly
distributed or not?I tested it through chi-square test and results are given at the end
of it.Now apparently P-value has a significant importance but I cant
Not sure if you are aware of the OpenMx SEM package
(http://openmx.psyc.virginia.edu/). It's a very full-featured structural
equation modeling package.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read th
On 12/01/2011 07:18 AM, John Fox wrote:
> To:r-help@r-project.org
> Subject: [R] FIML with missing data in sem package
>
You should check out the OpenMx R package. Just search for OpenMx and
SEM. You can download from the web site. It does FIML and is an
excellent SEM package.
Rick B .
_
I am trying to install the R package "Rmpi" which needs libmpi. I've
installed openmpi and lam in Centos 5.2:
[r...@rab45-1 /]# rpm -qv openmpi
openmpi-1.2.5-5.el5
openmpi-1.2.5-5.el5
[r...@rab45-1 /]# rpm -qv lam
lam-7.1.2-14.el5
lam-7.1.2-14.el5
I'm using this to install Rmpi:
R CMD INSTALL /h
On Wed, 2009-01-28 at 21:21 +0100, Stephan Kolassa wrote:
> Hi Adam,
>
> first: I really don't know much about MANOVA, so I sadly can't help you
> without learning about it an Pillai's V... which I would be glad to do,
> but I really don't have the time right now. Sorry!
>
> Second: you seem to
On Wed, 2009-01-14 at 16:38 +, Prof Brian Ripley wrote:
> You need to ask the author (as the posting guide asked you to).
>
> I'm tempted to not help further given the (almost complete) lack of
> cooperation of that author with R's recommendations, but note
> 'ordinal..so' in your log and l
I'm trying to install the ordinal package
(http://popgen.unimaas.nl/~plindsey/rlibs.html).
I downloaded ordinal03.tgz and untarred it. rmutil was previously
installed (and appears to work ok.) Then I installed ordinal:
[r...@localhost ~]# R CMD INSTALL /home/chippy/Download/ordinal
* Installing t
I'm running R 2.8.0 under Fedora 8 (32-bit). I installed the gam
package. I can fit gam models, but I get error messages when I try to
use step.gam and plot.gam, even for examples:
> library(gam)
> ?plot.gam
> data(gam.data)
> gam.object <- gam(y ~ s(x,6) + z,data=gam.data)
> plot(gam.object,se=TR
I'm using Suse Linux Enterprise Desktop 10.2 (SP2) on an HP 2133 (x86)
mini-notebook. (There apparently are a LOT of bugs in 10.1!) I
downloaded R-base from the openSuse 10.2 repository and was (finally)
able to install it (after installing blas and gcc-fortran). I can start
an R session and do com
On Tue, 2007-11-13 at 01:03 -0500, Rick Bilonick wrote:
>
> Is there some way to get ranef with postVar=TRUE to show what the
> variances are, or what the lower and upper bounds are? qqmath makes nice
> plots but I need to obtain the numerical values.
>
> Rick B.
>
I fou
ilto:[EMAIL PROTECTED] On Behalf Of Rick Bilonick
> > Sent: Monday, November 12, 2007 4:40 PM
> > To: R Help
> > Subject: [R] Using lme (nlme) to find the conditional
> > variance of therandom effects
> >
> > Using lmer in the lme4 package, you can compute t
Using lmer in the lme4 package, you can compute the conditional
variance-covariance matrix of the random effects using the bVar slot:
bVar: A list of the diagonal inner blocks (upper triangles only) of the
positive-definite matrices on the diagonal of the inverse of ZtZ+Omega.
With the appropriate
On Fri, 2007-11-09 at 18:55 +, Prof Brian Ripley wrote:
> I think Bert's point is important: I picked up a student on it in a case
> study presentation on this week because I could think of three
> interpretations, none strictly confidence intervals. I think 'tolerance
> interval' is fairl
On Fri, 2007-11-09 at 10:01 -0800, Bert Gunter wrote:
> Ummm...
>
> Define: "Confidence interval for BLUP" .
>
> I know what a confidence interval for a parameter or function of parameters
> (which is what a predicted value is) is; but a BLUP is neither, so I don't
> get what a confidence interva
I want to compute confidence intervals for the random effect estimates
for each subject. From checking on postings, this is what I cobbled
together using Orthodont data.frame as an example. There was some
discussion of how to properly access lmer slots and bVar, but I'm not
sure I understood. Is th
On Thu, 2007-10-25 at 16:26 +1000, [EMAIL PROTECTED] wrote:
> I wondered if the real problem was bigger than your abstract version.
> OK. Here is one way to do it
>
> > myfunc <- function(x) {
> nam <- deparse(substitute(x))
> val <- mean(x)
> cat("mean(", nam, ") =", val, "\n")
>
On Thu, 2007-10-25 at 15:34 +1000, [EMAIL PROTECTED] wrote:
> There are many simple ways to do this, if I understand you correctly.
> Here is an example
>
> > dat <- data.frame(matrix(rnorm(25), 5, 5))
> > names(dat)
> [1] "X1" "X2" "X3" "X4" "X5"
> > vars <- names(dat)[-1]
> > vars
> [1] "X2" "X3
I want to run a function in a loop and replace one of the arguments from
a large list each time through the loop. If I was writing it out
manually:
myfunc(x=var1)
myfunc(x=var2)
etc.
But I want to do this in a loop where x is replaced by a new name.
Something like:
for(i in vars) { myfunc(x=i)
I'm trying to install rimage in R version 2.5.1 running on Fedora 6
(kernel 2.6.22.7-57.fc6 with the headers and gcc installed, along with
fftw2 and libjpeg and headers):
> install.packages("rimage")
Warning in install.packages("rimage") : argument 'lib' is missing: using
'/usr/lib/R/library'
tryi
23 matches
Mail list logo