On 04/09/2015 5:18 PM, Roger Xu wrote:
> y0 <- runif(100, 0, 1)
> y1 <- runif(100, 0, 1)
> y2 <- runif(100, 0, 1)
>
> y0 <- c(y0, runif(100, 0, 10) )
> y1 <- c(y1, runif(100, 0, 10) )
> y2 <- c(y2, runif(100, 0, 10) )
>
> y0=as.numeric(unlist(y0))
> y1=as.numeric(unlist(y1))
> y2=as.numeric(unlis
Hi All,
I have two questions on using cronbach() from the psy() package.
My simplified situation is the following: I have a survey of 10 questions
(column names are "Q1", "Q2", etc.) that went out to 100+ people. I have
the responses to the questions, plus additional variables (demographics,
loca
Dear R users,
Hi. I don't know if my understanding of Manova test is correct. So I test
with the following code and got strange results.
Any help would be appreciated.
y0, y1, and y2 are independently generated by the same method.
They are each split into 20 groups by the same method.
The summa
Yup. Me too. Much better.
-- Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On Fri, Sep 4, 2015 at 2:57 PM, peter dalgaard wrote:
>
>> On 03 Sep 2015, at 19:34 , Bert Gunter wrote:
>>
>> You still failed to
> On 03 Sep 2015, at 19:34 , Bert Gunter wrote:
>
> You still failed to post to the list! Please learn how to use your
> mail client properly and **always** cc the list.
>
> Anyway, here is an answer (there may be other ways):
>
>> curve(dweibull(x,shape=0.8,scale=1),mgp=c(2,0.3,0),cex.lab=1.2
If you had read the Posting Guide as every posting admonishes you in the
footer, you would know that this question about C belongs on R-devel, not
R-help. I think a lot of C questions are addressed in the Writing R Extensions
document also, so be sure to convey how the documentation failed to co
Before you post on Rhelp you should first read the Posting Guide. It tells you
that requests for statistical advice might be answered but are not really
on-topic. Furthermore requests for tutorials or extended worked examples should
probably be accompanied by evidence of searching using Google o
Hi all!
I have written some code in C for simulating the fate of population
using a dll loaded in R. During this simulation the population may go
extinct such that the length of its trajectory is unknown beforehand. I
wonder there is a way to define the size of the result in C and make it
kno
Hendrik,
As a start, I'd make a matrix of zeros with the parties in rows
and all of the participants as columns and put a one for each participant
at each party. The matrix will consist of a vector for each
participant showing the parties attended. The pattern may suggest the next
step. Sim
Hendrik,
It's not clear to me what kind of R help you are looking for. I suggest
you provide more information on the data that you have and the questions
that you want answered. Is it in an external file? Is it an R object?
What code have you written or tried? Including example data, for examp
Pick the mean (mu) and variance (sig2) you want. Then, shape = mu^2/sig2 and
scale = sig2/mu. This should work fine if your mean is large enough so that
p(x = 0 or 1) is small.
--
View this message in context:
http://r.789695.n4.nabble.com/Gamma-count-tp4711845p4711853.html
Sent from the R help
Dear Joyaa,
> -Original Message-
> From: Joyaa Antares [mailto:jo...@goldcoastosteopathy.com.au]
> Sent: Friday, September 4, 2015 7:07 AM
> To: Fox, John
> Cc: r-help@r-project.org
> Subject: Re: [R] Unable to run RcmdrPlugin.survival using 3.2.2 with
> Windows 10
>
> Dear John,
>
> Ver
Hi Ragia,
I can't make out your data or desired result, but it sounds like
aggregate() might get you started. If you need more help, please
repost your data using dput() and do NOT post in HTML so that we can
see what your desired result looks like.
Sarah
On Fri, Sep 4, 2015 at 10:12 AM, Ragia I
This is a major point... do not make the mistake that you can "get by" using
MSWord as a text editor because it actively changes your code in ways that make
sense in a word processor but change code in ways that corrupt it.
-
Dear Group,kinldy, I have the following data frame df
id value1 1 4 2 1 4 3 1 6 4
1 6 5 2 1.5 6 2 2.5 7 2 2.5 8
2 2.5
add rank column regarding id coulmn where rank for the highest val
On Fri, 4 Sep 2015 21:07:19 +1000
"Joyaa Antares" wrote:
> Dear John,
>
> Very many thanks. Your hypothesis was completely correct - I did
> save the workspace, and this is what created the problem. As a
> newbie, being part way through an "exercise", saving my workspace
> intuitively seemed
I intend to simulate data from gamma distribution. I plan rounding the
observations into counts. What I want to know is how I will manipulate the
parameters of gamma to have both over and under dispersed count scenarios.
[[alternative HTML version deleted]]
_
Dear John,
Very many thanks. Your hypothesis was completely correct - I did save the
workspace, and this is what created the problem. As a newbie, being part
way through an "exercise", saving my workspace intuitively seemed the right
thing to do. Clearly not!So now, before I closed R
I have a data from 4 variables ( STOCK, CPI, EXC, and CCI) from 1980 to 2012. I
want to do a forecast using VAR(12) model with a simulation of 100,000 for 5
years. And also estimate the RMSE, MAPE, and Theil Inequality. Can anyone help
me with this problem in R? Thanks so much.
[[alter
Hi all,
I'm trying to plot colour as a fourth variable onto a persp plot to
highlight the multiple modes in my dataset.
A plot with 3 variables (frequency, time and depth) has been created using
the code below:
require(MASS)
require(graphics)
require(plot3D)
require(pdfCluster)
## density estim
On Tue, Sep 1, 2015 at 11:24 PM, Wang, Xue, Ph.D. wrote:
>
> slsqp in R seems quite slow. Does anyone have some suggestion as how to speed
> up this?
>
It is no surprise that a general solver like slsqp() takes longer than
specialized quadratic solvers such as solve.QP, ipop(), or
lowRankQP(). Y
Hi
Well, you want us to help you but you do not provide any relevant information
This is a result of first line of your code on my computer
> FCPval <- read.csv("C:/Users/shawin/Desktop/RProgramms/RAdipose/FCPval.csv")
Error in file(file, "rt") : cannot open the connection
In addition: Warning m
22 matches
Mail list logo