PLZ mke sure the package installed which contains "mvrnorm" function.
--
PO SU
mail: desolato...@163.com
Majored in Statistics from SJTU
At 2014-09-14 09:56:34, "thanoon younis" wrote:
>Dear R members
>I want to simulate data depending on SEM and when i applied the code below
>i found
I have more control over labels using David's suggestion.
scale_y_continuous(breaks=seq(min(df.melted$value)-2,max(df.melted$value),by=170)
Thanks,
Mohan
On Mon, Sep 15, 2014 at 10:14 AM, Mohan Radhakrishnan <
radhakrishnan.mo...@gmail.com> wrote:
> options("scipen"=100, "digits"=4)
> d
options("scipen"=100, "digits"=4)
df.melted$value<-as.integer(df.melted$value)
I was not looking at the return type of 'format'. But these alternative
work well.
Thanks,
Mohan
On Sun, Sep 14, 2014 at 9:57 PM, David Winsemius
wrote:
>
> On Sep 14, 2014, at 1:15 AM, Mohan Radhakrishnan wrote:
>
CRAN (and crantastic) updates this week
New packages
* cmvnorm (1.0)
Maintainer: Robin Hankin
Author(s): Robin K. S. Hankin
License: GPL-2
http://crantastic.org/packages/cmvnorm
various utilities for the complex multivariate Gaussian distribution
* couchDB (1.3.0)
Maint
Adding back the list address:
On Sep 14, 2014, at 9:53 AM, thanoon younis wrote:
> thank you for your help but i still have error after putting semicolon
> "Error: unexpected symbol in:
> "Ro<-matrix(data=c(7.0,2.1,2.1,7.0), ncol=2)
> yo<-matrix(data=NA,nrow=N,ncol=P) p""
The error message sho
On Sep 14, 2014, at 8:48 AM, Don McKenzie wrote:
ccing to list, as requested in the posting guide, so that others
may be able to help you.
On Sep 14, 2014, at 8:45 AM, thanoon younis > wrote:
Thank you very much for your reply
the output is
#Do simulation for 100 replications
N<-1000;
On Sep 14, 2014, at 1:15 AM, Mohan Radhakrishnan wrote:
Thanks Dennis.
df.melted$value<-as.numeric(df.melted$value)
See the FAQ about converting factors to numeric.
The more typical way of making that conversion is:
df.melted$value<-as.numeric(as.character(df.melted$value))
... although
cc�ing to list, as requested in the posting guide, so that others may be able
to help you.
On Sep 14, 2014, at 8:45 AM, thanoon younis wrote:
> Thank you very much for your reply
>
> the output is
>
> > #Do simulation for 100 replications
> > N<-1000; P<-10
> >
> > phi<-matrix(data=c(1.0,0.3
What errors? What is your output? What output did you expect?
On Sep 14, 2014, at 6:56 AM, thanoon younis wrote:
> Dear R members
> I want to simulate data depending on SEM and when i applied the code below
> i found some errors and i still cannot run it.
> many thanks in advance
>
>
> Thano
'q' should be an expression object, not a list of expression objects.
Try defining 'q' as
q <- as.expression(lapply(lambdas, function(l)bquote(lambda==.(l
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Sat, Sep 13, 2014 at 5:55 PM, Julio Sergio Santana
wrote:
> I need to add a legend w
Dear R members
I want to simulate data depending on SEM and when i applied the code below
i found some errors and i still cannot run it.
many thanks in advance
Thanoon
#Do simulation for 100 replications
N<-1000; P<-10
phi<-matrix(data=c(1.0,0.3,0.3,1.0),ncol=2) #The covariance matrix of xi
Ro<
Thanks Dennis.
df.melted$value<-as.numeric(df.melted$value)
df.melted$value <- format(df.melted$value, scientific = FALSE)
Mohan
On Sun, Sep 14, 2014 at 9:22 AM, Dennis Murphy wrote:
> Hi:
>
> Try
>
> str(df.melted)
>
> I'm guessing value is a factor. It needs to be numeric or integer.
>
> De
12 matches
Mail list logo