You need to show, not tell, what you did to get better answers. Did you
use the all=TRUE argument to merge()?
> df <-
data.frame(A=c(10,11,12),B=c(5,5,4),C=c(3.3,4,3),time=as.Date(c("1990-01-01","1990-02-07","1990-02-14")))
0
> merge(df, data.frame(time=seq(as.Date("1990-01-01"),
to=as.Date("1990
Yes, I tried to create a dataframe and merge it with the shortened
dataframe. The resulting dataframe goes with the short one and truncates
the complete date column, so it does not work.
On Wed, Jul 20, 2016 at 6:38 PM, David Winsemius
wrote:
>
> > On Jul 20, 2016, at 1:31 PM, lily li wrote:
>
The first place to start is to make sure you have the latest version of
devtools. If that doesn't work, please file an issue on devtools' GitHub.
Hadley
On Wednesday, July 20, 2016, Steven Yen wrote:
> Here is what I found. I had to go back to as early as R 3.0.3 (March,
> 2014) along with Rtoo
> On Jul 20, 2016, at 1:31 PM, lily li wrote:
>
> Hi R users,
>
> I have a dataframe, where there is a column 'time' represents time series
> but is not complete. How to expand the dataframe so this column will become
> complete, where other columns with the newly added rows have NA values?
> T
Here is what I found. I had to go back to as early as R 3.0.3 (March,
2014) along with Rtools30.exe that works with that version of R, in
order for devtools to work right. With other/later version of R, I end
up building a package with
library(devtools); build("yenlib",binary=F)
with no error me
Hi Michael, is this the direction you'd like to go (simplified)?
?pairs
pairs(iris, log="xy", asp=1, gap=0.1)
--Bill.
On Tue, Jul 19, 2016 at 2:37 PM, Michael Young wrote:
> I want to make this as easy as possible. The extra space could just go
> around the plot in the margin area. I could
Look at the zoo or data.table packages.
--
Sent from my phone. Please excuse my brevity.
On July 20, 2016 1:31:26 PM PDT, lily li wrote:
>Hi R users,
>
>I have a dataframe, where there is a column 'time' represents time
>series
>but is not complete. How to expand the dataframe so this column wi
> On Jul 20, 2016, at 10:20 AM, Sachin Kuruvithadam wrote:
>
>
>
> I have a 3x3 matrix Omega whose elements are unknown, and a defined 3x1
> parameter vector alpha. I want to define a 3x1 vector delta whose elements
> are still unknown but depend on alpha and Omega as shown in this image
>
Hi R users,
I have a dataframe, where there is a column 'time' represents time series
but is not complete. How to expand the dataframe so this column will become
complete, where other columns with the newly added rows have NA values?
Thanks.
df
A B C time
105 3.3 1990-01-01
You can estimate the standard deviation from the quantiles, but based on your
example, the data will not be accurately modeled with a normal distribution.
The quantiles .15 and .85 should be 1.036 standard deviations from the mean:
> qnorm(c(.15, .85))
[1] -1.036433 1.036433
However the .15-qu
Hello Folks,
I am using "nloptr" optimizer in my program as below.
my.data.var <- c(10,0.25,0.25,0.25,0.25,0.25,
10,0.25,0.25,0.25,0.25,0.25,
10,0.25,0.25,0.25,0.25,0.25,
10,0.25,0.25,0.25,0.25,0.25)
#Option for non-linear optimization algorithm
You don't need the function K.
From the image you need this:
Well at last.
You don't need the function K.
From the image you only need this:
G <- as.numeric(1+t(Alpha) %*% Omega %*% Alpha)
G
delta <- (Omega %*% Alpha) / sqrt(G)
delta
Berend Hasselman
> On 20 Jul 2016, at 21:17, Sachin Kur
Sorry, didn't know that the other site only hosted temporarily. This link
should be permanent: https://postimg.org/image/gpp3sohip/
Da: R-help per conto di Sachin Kuruvithadam
Inviato: mercoled� 20 luglio 2016 20.57
A: Berend Hasselman
Cc: r-help@r-project.
> On 20 Jul 2016, at 20:57, Sachin Kuruvithadam wrote:
>
>
>
> Sorry for the empty email, here's a link to the formula:
> https://unsee.cc/zasobuge/
>
Link gives eror message:
Unfortunately the images were deleted as requested.
> K is actually intended to be a number. What I need is a way
Sorry for the empty email, here's a link to the formula:
https://unsee.cc/zasobuge/
K is actually intended to be a number. What I need is a way to find the vector
delta as a function of the elements of omega.
Da: Berend Hasselman
Inviato: mercoled� 20 luglio
> On 20 Jul 2016, at 20:07, Berend Hasselman wrote:
>
>
>
> This functions a scalar not a function
Correction. This should have been
This function returns a scalar not a vector.
Berend Hasselman
__
R-help@r-project.org mailing list -- To UNSUBSCR
> On 20 Jul 2016, at 19:20, Sachin Kuruvithadam wrote:
>
>
>
> I have a 3x3 matrix Omega whose elements are unknown, and a defined 3x1
> parameter vector alpha. I want to define a 3x1 vector delta whose elements
> are still unknown but depend on alpha and Omega as shown in this image
> (sor
> On Jul 20, 2016, at 4:00 AM, Abdoulaye SARR wrote:
>
> I have the color of my bar plot displayed correctly but don’t have xlab,
> ylab and xaxp don’t show up.
>
> here is example of yearly data (25 years 1981-2005)
>> head(z1)
> [1] -0.1001726 0.2014272 -0.8556950 0.1920669 -0.8013520 1
I have a 3x3 matrix Omega whose elements are unknown, and a defined 3x1
parameter vector alpha. I want to define a 3x1 vector delta whose elements are
still unknown but depend on alpha and Omega as shown in this image (sorry, but
when I write in Latex format it doesn't appear formatted in my p
No, it refers to confidence level. Refer to your training in statistics for
that definition.
--
Sent from my phone. Please excuse my brevity.
On July 20, 2016 10:01:44 AM PDT, Tom Subia wrote:
>Default level = 0.95.
>Does this mean +/- 0.025 from estimate?
>
> [[alternative HTML version d
No, it means precisely the opposite.
Google "confidence interval", please.
Rui Barradas
Citando Tom Subia :
> Default level = 0.95.
> Does this mean +/- 0.025 from estimate?
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.o
The question could use a bit more information but have a look at
http://docs.ggplot2.org/0.9.3.1/stat_smooth.html#. This may explain it.
You might also want to have a look at
http://adv-r.had.co.nz/Reproducibility.html for some guidelines on asking
questions in Rhelp or StackOverflow, etc.
J
Default level = 0.95.
Does this mean +/- 0.025 from estimate?
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Dear Martin,
Thank you very much for your detailed explanation! I will have a look at the
poweRlaw package and see if things can be sorted out!
Best,
Daniel
On 19 July 2016 at 12:15, Martin Maechler
wrote:
> > Jim Lemon
> > on Tue, 19 Jul 2016 16:20:49 +1000 writes:
>
> > Hi D
Hi
I am new to this list and quite new to R and Shiny, so am likely to expose my
ignorance about things I should know.
My first ShinyApp runs as expected under RStudio, but when I publish it using
ShinyApp.io it gives on startup the error message:
"plot.new has not been called yet", even wh
I have the color of my bar plot displayed correctly but don’t have xlab, ylab
and xaxp don’t show up.
here is example of yearly data (25 years 1981-2005)
> head(z1)
[1] -0.1001726 0.2014272 -0.8556950 0.1920669 -0.8013520 1.3324949
code to display values
par(mar=rep(2,4))
op <- par(oma=c(5
I want to make this as easy as possible. The extra space could just go
around the plot in the margin area. I could then use a cropping tool to
paste the plot into Excel or Word.
I'm not opposed to using another package, but I'd need some kind of
pre-existing code to tinker with.
On Tue, Jul 19,
You need to figure out how to tell txtProgressBar what the progress is.
One simple option would be that if you are installing 10 packages,
then create the bar with a range of values from 0 to 10 and initialize
it at 0, then after the first package installs update it to show 1,
after the 2nd instal
thanks a lot for the help!
On Tue, Jul 19, 2016 at 7:20 PM, Gabor Grothendieck
wrote:
> Try this:
>
> Reduce(modifyList, list(x, y, z))
>
> On Tue, Jul 19, 2016 at 12:34 PM, Luca Cerone wrote:
>> Dear all,
>> I would like to know if there is a function to concatenate two lists
>> while repla
Hi all,
I understand this is not a data frame but an individual variable from the
data frame which is a list. Since, I need to work on this particular
variable I just added here as a sample data.
Jim, your code solved the purpose.Thanks!
Regards,
Srivathsan
On Wed, Jul 20, 2016 at 4:29 PM, Ulr
Am Wed, 20 Jul 2016 11:35:31 +0200
schrieb Ralf Goertz :
> Hi,
>
> after a recent update to version 3.3.1 on Opensuse Leap I have
> problems with command lines longer than the terminal width. E.g. when
> I do this
I installed readline version 6.3 and the issue is gone. So probably some
of the re
Use the dput() function to share a subset of your data with the list
(attachments are not supported).
For example, submit this command
dput(for_jhon[1:20, ])
and post the result to the list along with your question.
Jean
On Tue, Jul 19, 2016 at 1:24 PM, John Wasige wrote:
> Dear all,
>
>
Hi,
Yes, it takes a lot of searching for find out how to use roxygen with Ref
Classes. Thank goodness for Hadley Wickham's book ( http://r-pkgs.had.co.nz/ ).
For a Ref Class methods are actually documenting NULL, and you need to add the
"@name Classname_Methodname" tag. Otherwise, documentati
Hi Michael,
Thank you for the reply.
I am sorry I forgot to print out the anova table to make my question clear.
DfSum Sq Mean Sq F value Pr(>F)
S 20.199.630e-060.8180.444
x110.0002562.560e-0
What you show cannot be a data.frame. Using what you gave, this should help
you along:
x <- c(11,15,12,25, 11,12, 15,25, 134,45,56, 46, 45,56, 15,12,
66,45,56,24,14,11,25,12,134)
table(x)
On Wed, 20 Jul 2016 at 11:44 Jim Lemon wrote:
> Oops, didn't translate that function correctly:
>
> has_val
On 19/07/2016 10:06 PM, Steven Yen wrote:
Thanks. I found the reason was Rtools does not run under the new version
of R. I had to go back to as early as R 3.0.2 (September 2013) to make
Rtools work.
Any idea for a go-around? Thanks.
Which version of Rtools are you using? Current Rtools is used
Oops, didn't translate that function correctly:
has_values<-function(x,values) {
if(is.list(x)) {
return(sum(unlist(lapply(svlist,
function(x,values) return(all(values %in% x)),values
}
}
Jim
On Wed, Jul 20, 2016 at 7:18 PM, Jim Lemon wrote:
> Hi sri,
> Maybe something like this?
>
>
Hi,
after a recent update to version 3.3.1 on Opensuse Leap I have problems
with command lines longer than the terminal width. E.g. when I do this
> print("This is a very long line which is in fact
so long that it gets wrapped while writing it")
and then hit enter I end up with:
> print("This
Hi sri,
Maybe something like this?
has_values<-function(x,values) {
if(is.list(x)) {
return(sum(unlist(lapply(svlist,
function(x,values) return(all(values %in% x)),c(11,12)
}
}
svlist<-list(a=c(11,15,12,25),
b=c(11,12),
c=c(15,25),
d=c(134,45,56),
e=46,
f=c(45,56),
g=c(15,12),
h
It seems very unlikely that what you quote can be a data frame. It could
be a list I suppose. Can you clarify?
On 19/07/2016 11:59, sri vathsan wrote:
Hi,
I have a data frame like below.
11,15,12,25
11,12
15,25
134,45,56
46
45,56
15,12
66,45,56,24,14,11,25,12,134
I want to identify the freque
I would like to document function arguments in R reference classes and
I do not know how.
I know that methods description can be provided by adding
a string below the function declaration. But how to document the
function arguments in similar fashion like the arguments of R
functions (which can be
Dear useRs,
In a script that will be source()d, I want to install the uninstalled
packages and follow the progression with a bar. So I looked at
txtProgressBar() but I cannot figure out how to use it to show the
progression of the installation.
All the examples I have found just display the
42 matches
Mail list logo