Yes, sorry about that. I keep making mistakes I shouldn't make.
Thanks for the tip about 'reply all', I had no idea.
You can ignore the finalone. I have been doing other work on this and it comes
from there. I took the example from the R screen after it had run one of these
other things that
You need to "reply all" so other people can help as well, and others can
learn from your questions.
I am still puzzled by how you expect to compute "finalone". If you had
supplied numbers other than all 5's it might have been easier to figure
out what is going on.
What is your purpose in
Could you make your example reproducible? That is, include some sample input
and output. You talk about a column of numbers and then you seem to work with
named lists and I can't reconcile your words with the code I see.
--
Sent from my phone. Please excuse my brevity.
On December 23, 2016
Hi
Thank you David. It was the conflict with data table that was causing the
error. Obviously I was clueless (still).
Just to check out the functionality of dput, I did the following:
1. commented out the data line in the github example.
2. attached the file to an email to myself.
3.
I've been looking but I can't find a function to sum difference.
I have this code:
rates$thisone <- c(diff(rates$Int), NA)
rates$nextone <- c(diff(rates$Int, lag=2), NA, NA)
rates$lastone <- (rates$thisone + rates$nextone)
It is looking down one long column of numbers.
It sums the
> On Dec 23, 2016, at 12:45 PM, Carl Sutton via R-help
> wrote:
>
> Merry Christmas and Happy Holidays
>
> I am attempting to use dput and or dget to send data along with a help
> request to another list (package specific). Read the help pages for both
> and they
Merry Christmas and Happy Holidays
I am attempting to use dput and or dget to send data along with a help request
to another list (package specific). Read the help pages for both and they
appeared to be fairly simple functions. Found an example on github and it
appeared to be an easy task
> On 22 Dec 2016, at 18:08 , William Dunlap via R-help
> wrote:
>
> As a practical matter, 'continuous' data must be discretized, so if you
> have long vectors of it you will run into this problem.
Yep, and it is a bit unfortunate that hist() tries to use "pretty"
> William Dunlap
> on Thu, 22 Dec 2016 09:08:35 -0800 writes:
> As a practical matter, 'continuous' data must be discretized, so if you
> have long vectors of it you will run into this problem.
> Bill Dunlap
> TIBCO Software
> wdunlap tibco.com
I am getting the following error when trying to run a gam.possion model
with Zelig.
Error in eval(expr, envir, enclos) : attempt to apply non-function
Even the example won't run.
library(mgcv)
library(Zelig)
n <- 400
sig <- 2
x0 <- runif(n, 0, 1); x1 <- runif(n, 0, 1)
x2 <- runif(n, 0, 1); x3
Hola Jesús has mirado en Coursera?
https://www.coursera.org/courses?_facet_changed_=true=en%2Ces=machine+learning
Puedes mirar también este curso de Columbia
http://www.cs.columbia.edu/~jebara/4772/handouts.html
[image: carlos-guadian-avatar-firma.png]
Carlos Guadián Orta
Mi perfil
11 matches
Mail list logo