Hi Jui-Kun,
Are you using the plm package and talking about a pvcm object that is
returned by the function of the same name? If so, it is not a "file"
but a list of values returned by the function. Maybe this will move
your question in the direction of intelligibility.
Jim
On Sat, Oct 5, 2019 at
Apologies Ana, Of course Rui and Herve (and Richard) are correct here
in stating that NA values get 'carried through' when selecting using
the "==" operator.
To give an illustration of what (I believe) Herve means by "NAs
propagating", here's a small 11 x 8 dataframe ("zakaria") posted to
R-Help l
What software creates a pvcm file? Is it binary or text? Where did it
come from, and what do you expect to get out of it?
Your question is too broad for us to be able to help you.
When I google pvcm, I find some stuff about vocal cords, and also your
Stack Overflow question, which was also closed
Hello,
I don't find the question easy to answer, if at all.
1. What is a pvcm file? Please give us more information on this format,
I couldn't find that file extension.
2. Please read the posting guide, with a link at the bottom of this
mail. You should know that R-help is for questions on R
What is a pvcm file???
-pd
> On 4 Oct 2019, at 13:00 , Jui-Kun Chiang via R-help
> wrote:
>
> Dear Sir,
> I got a pvcm file.
> My question is how to read it by R.
> Gratefully
>
>Jui-Kun Chiang
>
> [[alternative HTML version deleted]]
>
>
This is in part answered by FAQ 7.21.
The most important part of that answer is at the bottom where it says
that it is usually better to use a list.
It may be safer to use a list for your case so that other important
variables do not become masked (hidden by the global variables you
just created)
This question was rejected on stack overflow as being too vague. The same
applies here: what, **exactly** are pvcm iles?
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic stri
Dear Sir,
I got a pvcm file.
My question is how to read it by R.
Gratefully
Jui-Kun Chiang
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-
This is mainly a technical issue with uniroot trying to go outside of its
interval: (2, 1e7)
It is fairly easy to find an approximate solution by diddling a little by hand:
> power.t.test(delta = 0.5849625, sd=0.01, n=1.04, sig.level=0.05)$power
[1] 0.8023375
Notice, however, that 1.04 observat
Well, OK, but do note that strsplit() is vectorized, so
z <- strplit(textlines) ## provides a list of splits for each line
would be faster for large files.
However, to add to what Jeff said, it is hard for me to see how your
approach will not lead to problems. For example, what if there are sev
Think about this. What is the null hypothesis? What is the alternative?
What are their distributions? What is the probability that you get a value
from the alternative when the null hypothesis holds and vice versa? Then
think again about the relevance of your alternative hypothesis. You'll get
a be
Hi,
power.t.test works for some range of input parameters but fails otherwise.
> power.t.test(delta = 0.5849625, sd=0.1, power=0.8, sig.level=0.05)$n
[1] 1.971668
> power.t.test(delta = 0.5849625, sd=0.05, power=0.8, sig.level=0.05)$n
[1] 1.620328
> power.t.test(delta = 0.5849625, sd=0.01, power=
Hi April,
Try this:
# this could be done from a file
textlines<-read.table(text="color=green
shape=circle
age=17
name=Jim",
stringsAsFactors=FALSE)
for(i in 1:length(textlines)) {
nextline<-unlist(strsplit(textlines[i,1],"="))
assign(nextline[1],nextline[2])
}
color
[1] "green"
shape
[1] "ci
For general documentation about the effsize package you would do:
> help(package="effsize")
For information on calculations related to vargha:
>??vargha
This command displays effsize::VD.A, which you can find out about via the
command
>?effsize::VD.A
This displays the documentation for the functio
I am new to R language. I have two column data I.e X= 0.23, 0.04, 0.5, -
0.20 etc and B= 0.34, 0.01, 0.1, 0.09 etc. The number of observations are
100. How can I apply vargha and delaney effect size in R? I load the data
as, read.csv(mydata.csv) and load the library effsize. Please if someone
can h
Yes. But you should be careful.
"source" is the best way, especially if you put the symbols in a dedicated
environment instead of the global environment to avoid your program getting
stomped on by your input file.
On October 3, 2019 11:58:51 PM PDT, April Ettington
wrote:
>Let's say I am pars
Let's say I am parsing a file with a list of parameters followed by an
equal sign, and their corresponding values, eg:
color=green
shape=circle
and I want to use this information to create a variable called color with
the value 'green' and a variable shape with the value 'circle'. However, I
als
17 matches
Mail list logo