Hi,
I hope you are doing well!
I have a question. I and my colleagues wrote a paper by using R language and
its packages. We also used some tutorials. We have words count limitation for
our paper. In early version of paper, I cited all packages in the reference
list of paper (my paper will be p
That is logically impossible.
You can only show that there is insufficient evidence (according to
whatever evidentiary criterion you have chosen) to show that the data were
*not* a (iid or other) sample from a Poisson. This may seem esoteric, but
it is not. (The simplest incantation is that you ca
From the package's DESCRIPTION file found as the first hit to a search
with rseek.org using strategy "play mp3 files":
Package: ‘tuneR’ July 8, 2018
Version: 1.3.3 Date 2018-07-03
Title: Analysis of Music and Speech
Author: Uwe Ligges with contributions from Sebastian Krey, Ol
Your first check might be to see in the mean and sd are "reasonably"
close. Next approach would be to see if the `qqplot` of that vector has
an arguably straight-line relationship with a random draw from a Poisson
random generator function with the same mean.
?rpois
?qqplot
And do remember t
Dear friends,
I have a sample dataset, which is basically the number of transits through
a particular waterway, and is on a daily basis.
MyDat <- dataset$DailyTransits
What I´d like to do is to test whether MyDat follows a poisson distribution
or not. What R function could accomplish this?
Any
Hi all,
I'm writing to you to introduce our new package, copent [6]. This package
estimates copula entropy, a new mathematical concept for multivariate
statistical independence measure and testing [1]. The estimating method is
nonparametric and can be applied to any cases without making assump
Does "ulimit -a" give a hint? (NB: no n in there...)
-pd
> On 21 Jul 2020, at 17:30 , Erin Hodgess wrote:
>
> Hello!
>
> Hope everyone is staying well.
>
> I’m not sure if this is the right list for this question, but here goes.
>
> I am using the new experimental WSL on my Windows laptop.
Hello vahid.borji,
Re:
> How can we call a music file from our laptop (for example from desktop) and
> play it in R? Could you please give me an explicit example by writing
> commands in R. Is it necessary for our music file to be in a specific
> format? If yes, which format it has to be?
Wave
Hi Ahson,
Guessing what your data frame might look like, here are two easy ways:
All_companies<-data.frame(year=c(1970:2015,2000:2015,2010:2015),
COMPANY_NUMBER=c(rep(1,46),rep(2,16),rep(3,6)),
COMPANY_NAME=c(rep("IBM",46),rep("AMAZON",16),rep("SPACE-X",6)))
# easy ways
table(All_companies$COMPA
On Tue, 21 Jul 2020 20:26:16 +
peri He wrote:
> I am still getting error when I run: install.packages
> ("package.tar.gz', repos = NULL, type = "source").
It's a good idea to specify both the things you are doing (which you
did) and the results you are getting, i.e. the exact error message
Hi Vahid,
The following command:
system("mplayer /home/jim/songs/bimbo_soul.mp3",
wait=FALSE,ignore.stdout=TRUE)
works fine for me. Of course you'll have to specify a music player and
music file that you have...
Jim
On Wed, Jul 22, 2020 at 4:02 AM Vahid Borji wrote:
>
> Hello my R friends,
>
Hello,
I have installed all packages successfully in order to unpack a source package.
I am still getting error when I run: install.packages ("package.tar.gz', repos
= NULL, type = "source").
Is that possible my system doesn't allow Rstudio to compile some information in
C++ ?
My colleague is
What you are asking is one area where the package data.table really
shines. You didn't provide an example, but based on your question you
would do something like:
library(data.table)
dt <- as.data.table(All_companies)
dt[, .N, by=COMPANY_NAME]
You will have to read up on data.table, but .N gives
I wonder if you have a non-ascii symbol in there somewhere? That may be
what this is trying to tell you.
Error in parse(text = x, keep.source = FALSE) :
:1:1: unexpected '<'
I have no dea what "mice" is supposed to output but using your data,
renamed dat1,
I did
library(mice)
pred <- quickpr
Google search "playing music with r"
for example:
https://stackoverflow.com/questions/31782580/how-can-i-play-birthday-music-using-r
It can be a starting point
Yousri
On Tue, Jul 21, 2020 at 2:02 PM Vahid Borji wrote:
>
> Hello my R friends,
>
> How can we call a music file from our laptop (for
It occurs to me a simple table command will do what you say you want but I
suspect the real analysis is more complicated
dat1 <- data.frame(aa = sample(letters[1:5], 10, replace = TRUE),
bb = 1:10)
table(dat1$aa)
On Tue, 21 Jul 2020 at 14:01, John Kane wrote:
> As Bert says th
Hello,
I've cc-ed the list.
Yes, I believe that generally speaking, POSIXct is better than POSIXlt.
POSIXlt is a complicated structure, POSXct is much simpler and gives
less problems. Datetimes are a problem because they are datetimes but
POSIXct is a good way of trying to make things simpler
As Bert says that does not look like R
Have a look an these links for some suggestions on asking questions here.
http://adv-r.had.co.nz/Reproducibility.html
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
On Tue, 21 Jul 2020 at 13:42, Bert Gunter wrote:
Hello my R friends,
How can we call a music file from our laptop (for example from desktop) and
play it in R? Could you please give me an explicit example by writing
commands in R. Is it necessary for our music file to be in a specific
format? If yes, which format it has to be?
Thank you in advan
Please reply on-list, so others may benefit from the conversation.
I'm glad you got it working, despite not being sure what the problem
was. I agree that you should use POSIXct instead of POSIXlt. POSIXlt
are fairly large, since they're a list of 9 elements each with an
observation for each time
What language are you programming in? -- it certainly isn't R.
I suggest that you stop what you're doing and go through an R tutorial or
two before proceeding. This list cannot serve as a substitute for doing
such homework (is this homework, btw? -- that's off topic here) nor can we
provide such t
Dear All, I have a dataframe which has a few thousand companies with unique
company numbers and names and each company has data for several years and each
year is stored in a separate row.
I want to get a total for the number of years of data for each company. When I
loop through the data with
On 21/07/2020 5:00 a.m., Jim Lemon wrote:
Hi Byron,
As in the help page, three types of arrows can be specified.
Actually four types: rotation, extrusion, lines, flat. But the rest of
your answer is right.
Duncan Murdoch
In the
"rotation" type, "width" is the parameter that determines t
Hello!
Hope everyone is staying well.
I’m not sure if this is the right list for this question, but here goes.
I am using the new experimental WSL on my Windows laptop. It was going
well until yesterday. I’m using Ubuntu 20.04. I am starting to get “
error: cannot allocate vector of size 1.3
Hello,
I am attempting to create a multiple imputation model using the mice
package in R. Here are some details about what I am specifically trying to
do, and below is a subset of the data I am working with, the code I have
tried, and the error that I am getting.
In the dataset, labelled 'mtu
Your example works for me. Can you provide a sample of the CSV you're
trying to read, and the commands you use to read it? The output of
sessionInfo() might also be helpful.
On Mon, Jul 20, 2020 at 3:42 PM Jeff Reichman wrote:
>
> R-Help Forum
>
>
>
> Starting to work with xts objects but can't
Are you sure you loaded the xts library?
On Mon, 20 Jul 2020 at 16:32, Jeff Reichman wrote:
> R-Help Forum
>
>
>
> Starting to work with xts objects but can't figure out what I'm doing wrong
> when converting *.csv file with a dtg variable to a *.xts object. When I'm
> converting to an appropria
Hi Byron,
As in the help page, three types of arrows can be specified. In the
"rotation" type, "width" is the parameter that determines the diameter
of the cylindrical shaft as a fraction of the "barb", the cone at the
end. In the default "extrusion" arrow, "thickness" is the fraction of
the "width
Plotting lines with different "lenght"
I am trying trying to plot a chart thar always have values from 01/01 of
the beginning of the year till 31/12 of the end of the year.
The thing is sometimes I will have NA or not values in one time series but
not in the others. In the next code you can see t
29 matches
Mail list logo