David,
I withdrew from the class because I couldn't understand it. Apologies. I
shall ask no more questions.
Brad
On Fri, Dec 18, 2015 at 3:28 PM, David Winsemius
wrote:
>
> > On Dec 18, 2015, at 7:23 AM, Bradley Wolf wrote:
> >
> > Jim,
> > Thank you for your response. I am not asking you
Hello,
I need some help in data cleaning using R. my CSV file looks as
follows.
"id","gender","age","category1","category2","category3","category4","category5","category6","category7","category8","category9","category10"1,"Male",22,"movies","music","travel","cloths","grocery",2,"Mal
Caroline - the phidot forum is an *excellent* spot to post this question.
There is an entire RMark subforum.
www.phidot.org/forum/index.php
Even just searching this forum will probably give you some answers.
Also, this book has a whole section on individual covariates and approaches
for dealing wi
Thank you. The issue is resolved by scaling the data in millions.
Saba
On Saturday, 19 December 2015, 15:06, Achim Zeileis
wrote:
On Sat, 19 Dec 2015, Saba Sehrish via R-help wrote:
> Hi I am using NeweyWest standard errors to correct lm( ) output. For example:
> lm(A~A1+A2+A3+A4+A5+B1
On Sat, 19 Dec 2015, Saba Sehrish via R-help wrote:
Hi I am using NeweyWest standard errors to correct lm( ) output. For example:
lm(A~A1+A2+A3+A4+A5+B1+B2+B3+B4+B5)
vcovNW<-NeweyWest(lm(A~A1+A2+A3+A4+A5+B1+B2+B3+B4+B5))
I am using package(sandwich) for NeweyWest. Now when I run this command, i
Hi I am using NeweyWest standard errors to correct lm( ) output. For example:
lm(A~A1+A2+A3+A4+A5+B1+B2+B3+B4+B5)
vcovNW<-NeweyWest(lm(A~A1+A2+A3+A4+A5+B1+B2+B3+B4+B5))
I am using package(sandwich) for NeweyWest. Now when I run this command, it
gives following error:
Error in solve.default(diag(n
Hi Marna,
Okay. I think I have a better idea now. I still don't quite get what
"output" represents, but I think the "table" you want is something like
what is produced by this code:
birdlevels<-c("0","SiteA","SiteB","SiteC")
raw.data<-data.frame(T2010=factor(rep("SiteA",11),levels=birdlevels),
T2
> I want to get the table like "output". Any possibility to get it in R?
What do the rows represent in 'output'? Places? Times? Individuals?
What do the numbers in the table relate to? Individual bird identifier? Number
of birds?
> On Dec 18, 2015, at 7:23 AM, Bradley Wolf wrote:
>
> Jim,
> Thank you for your response. I am not asking you for you to do my work.
> I am really new to programming (in any context) and really haven't gotten
> the grasp of the logic yet. I have used R before but in the context of R
> Command
> On Dec 18, 2015, at 12:32 PM, Luigi Marongiu wrote:
>
> Dear all,
> I am plotting some data using lattice's barchart. One of the counts I
> am plotting has a very large value with respect to the other variables
> and I would like to introduce a break in the axis to compensate for
> this 'anoma
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 strip )
On Fri, Dec 18, 2015 at 12:32 PM, Luigi Marongiu
wrote:
> Dear all,
> I am plotting some data using lattice's barch
> On Dec 18, 2015, at 12:22 PM, Luigi Marongiu wrote:
>
> Dear all,
> I am plotting the count of some data subdivided in different groups.
> the variables i am using are:
> A = tests performed
> B = positive/negative results (but in this case the results are all
> positive, so all 1)
> C = multi
Dear all,
I am plotting some data using lattice's barchart. One of the counts I
am plotting has a very large value with respect to the other variables
and I would like to introduce a break in the axis to compensate for
this 'anomaly' and give more breath to the other bars. In this example
the high
Dear all,
I am plotting the count of some data subdivided in different groups.
the variables i am using are:
A = tests performed
B = positive/negative results (but in this case the results are all
positive, so all 1)
C = multiple (1) or single (0) test applied
D = count of instances
E = cases (1) o
1. I do not think what the OP requested exists, at least as I
understand her -- how would one define the "surfaces" where the
piecewise multidimensional polynomials are "joined"? (only 1-d space
is ordered)
2. But, as she has already been told, there are various ways of doing
multivariate smoothi
> On Dec 18, 2015, at 7:42 AM,
> wrote:
>
> Dear all,
>
> I am looking for a package which performs splining in more than one dimension
> with polynomials of order>1, exactly as the package "splines" does in 1D.
> For the moment I was only able to find the package "polspline", whose
> funct
Hi David,
I did something similar:
years <- scotland_weather%>%
select(starts_with("Year"))%>%
gather(year.col,year)%>%
select(-year.col)
months <- scotland_weather[seq(1, 24, 2)]%>%
gather(month,rainfall_mm)
sco
I am currently trying to run a Known Fates Model in RMark with individual time
varying covariates. However, for animals that died early in the study or were
not captured at one capture period I, of course, do not have data for all of
their time points. I thought that NAs would not matter when th
Dear Jim,
I am sorry for not explaining the question in a clear way. I am trying to
explain it, let's see how much clear I can make it.
For the given example, (raw.data). Let's say, the 11 birds were marked and
released at site A in a landscape (a combination of sites siteA, siteB,
site C) in 2010
Look at the CRAN Task View: "Handling and Analyzing Spatio-Temporal Data,"
particularly the section on "Moving objects, trajectories." The tools you need
are probably already available.
https://cran.r-project.org/web/views/SpatioTemporal.html
-
David L Carlso
Have you considered thin plate splines, which are a natural
extension of one-dimensional splines to higher dimensional
spaces, but are not piecewise polynomials? The Tps function
in the fields package will fit a thin plate spline to irregularly
spaced data.
Bill Dunlap
TIBCO Software
wdunlap tib
Jim,
Thank you for your response. I am not asking you for you to do my work.
I am really new to programming (in any context) and really haven't gotten
the grasp of the logic yet. I have used R before but in the context of R
Commander and am trying this so I can be a more robust user.
That being
Dear all,
I am looking for a package which performs splining in more than one dimension
with polynomials of order>1, exactly as the package "splines" does in 1D.
For the moment I was only able to find the package "polspline", whose function
"polymars" performs just piecewise linear splines, so n
Dear Ista,
Many thanks for your reply.
Your tidyr solution didn’t work:
> dput(head(scotland_weather,6))
structure(list(Jan = c(293.8, 292.2, 275.6, 252.3, 246.2, 245
), Year.1 = c(1993L, 1928L, 2008L, 2015L, 1974L, 1975L), Feb = c
You can fit a spline to the points and evaluate the derivative
of the fitted spline where you want. The built-in splines package
has functions for this, as do other packages on CRAN.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Dec 18, 2015 at 1:09 AM, BARLAS Marios 247554
wrote:
> Hi
Hi Pai,
there are at least two solutions two your problem.
The first solution makes use of R's base graphics instead of using the
lattice-based spplot function:
library("sp")
library("RColorBrewers")
library("classInt")
# example more or less copied from the Applied Spatial Data Analysis
w
Did you really fail to type "R numeric derivative" into Google, or did you do
it and then not notice the built in numericDeriv function or the contributed
numderiv package?
--
Sent from my phone. Please excuse my brevity.
On December 18, 2015 1:09:06 AM PST, BARLAS Marios 247554
wrote:
>Hi e
Dear Sir
Thanks a lot for your great help. I had tried the argument by = 1000, but
wasn't aware of "seq". Thanks again.
With regards
Amelia
On Friday, 18 December 2015 5:00 PM, Jim Lemon wrote:
Hi Amelia,The usual way is:
plot(...,xaxt="n")axis(1,at=seq(0,18000,by=1000)
However, you wil
Hi
I may be completely wrong, but did you consider
?diff
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of BARLAS
> Marios 247554
> Sent: Friday, December 18, 2015 10:09 AM
> To: r-help@r-project.org
> Subject: [R] Numerical differentiati
Dear Amelia
As well as Jim's excellent advice you may want to look at the las
parameter which enables you to alter the orientation. Of course you then
have to lie on your side to read them or turn your monitor through pi/2
On 18/12/2015 11:30, Jim Lemon wrote:
Hi Amelia,
The usual way is:
Hi Amelia,
The usual way is:
plot(...,xaxt="n")
axis(1,at=seq(0,18000,by=1000)
However, you will get overlapping labels unless you use a small font or a
large graphics device. You may want to look at the staxlab function in the
plotrix package.
Jim
On Fri, Dec 18, 2015 at 10:20 PM, Amelia Mars
Dear Forum,
Assuming I need to plot a graph. In the code I have defined X axis range as
xlim=c(0,18000)
In the plot, the values visible w.r.t X axis are 0, 5000, 1, 18000.
To improve the graph clarity, is there any way I can show the values of X axis
as 0, 1000, 2000, 3000, 4000, 5000
# only a update the R code (with strange behavior)
library( tcltk ); tclRequire( "Tktable" )
top <- tktoplevel()
tcl('variable', 'myarray')
tcl('array', 'unset', 'myarray')
x <- 0
tabCmd <- function() {
x <<- x + 1
return( as.tclObj( paste(x) ) )
}
tab <- tkwidget( top, 'table', rows=2, co
Hello all
I am using the following two commands and get two completely different qq plots
while meanlog and sdlog are almost the same. Any help is highly appreciated.
dev.new() ; qqPlot(serving, dist = "lnorm", estimate.params = TRUE, add.line =
TRUE)
fitln <- fitdist(serving, "lnorm")
dev.new(
Hi everyone,
I have sets of experimental values representing I-V curves. I want to get the
derivative of such numerical data but in r there doesn' seem to be a premade
function. I can write something of my own, but I was wondering if there is a
standard package out there?
Thanks in advance!
_
35 matches
Mail list logo