On 14/08/2018 11:48 AM, Tania Morgado Garcia wrote:
Hello everyone. I'm new to R and I'm using spline functions. With the
command splinefun (x, y) I get the function of interpolating the values x
and y. Later, I can evaluate that function for values of x by obtaining the
respective values of
The uniroot function can be used to find a value in a specified
interval, if it exists.
On Tue, Aug 14, 2018 at 3:30 PM Tania Morgado Garcia wrote:
>
> Hello everyone. I'm new to R and I'm using spline functions. With the
> command splinefun (x, y) I get the function of interpolating the values
If I understand correctly, not in general possible.
Suppose for a bunch of different x's the y's are all constant =0. What x
would correspond to y = 1.
Or suppose (x,y) pairs trace a sine function over several periods. Then
there is no unique x corresponding to y = .5, say.
Perhaps if you more
Hello everyone. I'm new to R and I'm using spline functions. With the
command splinefun (x, y) I get the function of interpolating the values x
and y. Later, I can evaluate that function for values of x by obtaining the
respective values of y. The point is that I need the inverse operation,
with
I wish to fit spline curves to longitudinal data
Which package should I use and how should data be structured to facilitate the
analysis
-
Deva
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
Yikes! That almost requires a book. Why don't you start by doing some
of your own homework instead. Search on:
fit spline curves to longitudinal data in R
and then go through the tutorials/presentations that pop up. There
will also be books that you will find, I'm sure if you're serious
about
Hi,
That's not really enough information to help you. Why don't you do
some research on your own, and come back with a better-formulated
question?
A search at http://rseek.org/ for
spline longitudinal data
finds a lot of material that will help you get started.
Sarah
On Mon, Jun 29, 2015 at
Sorry if this appears twice but I am not sure the first attempt got through.
This is not much to go on but here is a short self contained example which
creates a longitudinal data frame L in long form from the built in data
frame BOD and then plots it as points and splines using lattice:
L -
I wish to analyse longitudinal data and fit spline graphs to it looking to
the data pattern.
can someone suggest some starting point, and package in R to be used for
it.
what would be the requirement for structuring the raw data.
**
*Deva*
[[alternative HTML version deleted]]
I have the following code which creates a spline function
x - c(1, 12, 24, 36, 60, 120, 200, 240, 300, 360)
y - c(.2, 8, 8, 8, 8, 8, 8, 8, 18, 50)
Baseline - cbind(x,y)
Turnover - splinefun(Baseline[,1], Baseline[,2], method = natural)
plot(Turnover(seq(1, 360, 1)), type = l)
If I change the
On Jun 22, 2015, at 1:09 PM, Glenn Schultz wrote:
I have the following code which creates a spline function
x - c(1, 12, 24, 36, 60, 120, 200, 240, 300, 360)
y - c(.2, 8, 8, 8, 8, 8, 8, 8, 18, 50)
Baseline - cbind(x,y)
Turnover - splinefun(Baseline[,1], Baseline[,2], method = natural)
Colleagues,
Is there any R program that will allow me to run a localized regression (e.g.
smoothing spline) in the context of a random effects model? I have data on the
growth of animals and want to create growth curves. I am not certain what shape
the growth curve would take, so I would like
See gam() and gamm() in the mgcv package.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom.
H. Gilbert Welch
On Mon, Apr 21, 2014 at 3:25 PM, John Sorkin
Also, you might want to check out the gamm4 package.
Ken
On 04/21/14, Bert Gunter wrote:
See gam() and gamm() in the mgcv package.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
Data is not information. Information is not knowledge. And knowledge
is
What part of read the posting guide did you not understand? The provide
commented, minimal, self-contained, reproducible code part?
---
Jeff NewmillerThe . . Go Live...
On 15 February 2012 19:00, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote:
What part of read the posting guide did you not understand? The provide
commented, minimal, self-contained, reproducible code part?
Off topic: why is there so much unfriendliness on this thread ? Both
the above and DW's
On 14-02-2012, at 22:14, Hasan Diwan wrote:
dput(sensor.sample)
structure(c(1328565718.65, 1328566608.9, 1328566162.65, 1328566571.1,
1328566598.85, 1328565634.3, 1328566513.95, 1328565123.65, 1328565827.1,
..
What I'd like to do is get a spline through all the points. I'm
thinking the
On 15/02/12 21:25, Michael Bedward wrote:
On 15 February 2012 19:00, Jeff Newmillerjdnew...@dcn.davis.ca.us wrote:
What part of read the posting guide did you not understand? The provide
commented, minimal, self-contained, reproducible code part?
Off topic: why is there so much
dput(sensor.sample)
structure(c(1328565718.65, 1328566608.9, 1328566162.65, 1328566571.1,
1328566598.85, 1328565634.3, 1328566513.95, 1328565123.65, 1328565827.1,
1328566719.9, 1328565527.55, 1328565118.05, 1328565556.85, 1328565623.85,
1328565230.75, 1328566083.85, 1328566012.45, 1328566795.75,
On Feb 14, 2012, at 4:14 PM, Hasan Diwan wrote:
dput(sensor.sample)
structure(c(1328565718.65, 1328566608.9, 1328566162.65, 1328566571.1,
snipped 5 pages of data
0.909395426580465, 0.806793813827552, 0.474927337412093,
-0.0383057034947468,
-0.454526719533217, -0.187379201707524,
David:
Why do you say the OP wants a 503rd or 504th degree polynomial?
He/she wants an interpolating spline.
But that is precisely what spline() or splinefun() would give him/her.
So I don't understand the problem either!!!
To the OP:
What did you actually *do* to create your spline?
Rolf,
On 14 February 2012 21:26, Rolf Turner rolf.tur...@xtra.co.nz wrote:
What did you actually *do* to create your spline?
Did you use spline() or splinefun()? And if not, why not?
Yes... I used the spline() function to get a list of points that
should go though every point in the
Hello list, is there any R function for generating spline for implicit
functions, for example a spline for an two-column data frame where for
one value for one variable there maybe several correspondent values for
another? Many thanks.
Currently I'm using this home-made one:
spline2d -
I am using R for volatility calibration (Variance Gamma distribution).
My question is very basic and not at all related to mathematics!
y=spline(KK,CallPrices,,fmm,,,strikes)
When calling spline function it returns a list y
The list contains some numbers which I have to subtract from
Hello R-help
I have the following data for a standard curve
concentration(nM),fluorescence
0,48.34
2,58.69
5,70.83
10,94.73
20,190.8
50,436.0
100, 957.9
(1)Is there function in R to plot a spline.
(2)How can I interpolation,say 1000 point from 0nM-100nM and store this as a
data frame of
On Feb 5, 2011, at 9:29 AM, Asan Ramzan wrote:
Hello R-help
I have the following data for a standard curve
concentration(nM),fluorescence
0,48.34
2,58.69
5,70.83
10,94.73
20,190.8
50,436.0
100, 957.9
(1)Is there function in R to plot a spline.
?spline
(2)How can I interpolation,say 1000
] On Behalf Of David Winsemius
Sent: Saturday, February 05, 2011 8:24 AM
To: Asan Ramzan
Cc: r-help@r-project.org
Subject: Re: [R] spline interpolation
On Feb 5, 2011, at 9:29 AM, Asan Ramzan wrote:
Hello R-help
I have the following data for a standard curve
concentration(nM),fluorescence
On Feb 5, 2011, at 10:37 AM, Mike Marchywka wrote:
From: dwinsem...@comcast.net
To: asanram...@yahoo.com
Date: Sat, 5 Feb 2011 10:24:04 -0500
CC: r-help@r-project.org
Subject: Re: [R] spline interpolation
On Feb 5, 2011, at 9:29 AM, Asan Ramzan wrote:
Hello R-help
I have the following data
From: dwinsem...@comcast.net
To: asanram...@yahoo.com
Date: Sat, 5 Feb 2011 10:24:04 -0500
CC: r-help@r-project.org
Subject: Re: [R] spline interpolation
On Feb 5, 2011, at 9:29 AM, Asan Ramzan wrote:
Hello R-help
I have the following data for a standard curve
Hi,
Just pure curiosity:
may I ask why you want to do spline interplation on fluorescence intensity as
function of concentration?
Particularly as it looks quite typical for an unknown problem's calibration
plot?
Claudia
On 02/05/2011 03:29 PM, Asan Ramzan wrote:
Hello R-help
I have
Date: Sat, 5 Feb 2011 18:08:43 +0100
From: cbelei...@units.it
To: r-help@r-project.org
Subject: Re: [R] spline interpolation
Hi,
Just pure curiosity:
may I ask why you want to do spline interplation on fluorescence intensity as
function
Hi All,
I am using R version 2.9.2 (2009-08-24) window version
and I wanted to use the
library(spline)
Error in library(spline) : there is no package called 'spline'
I tried to install packages as well and it is not there either.
Am I missing something there. Where can I get this library?
Hey Ashta,
Simply typo, it's splines... library(splines).
Cheers...
-
Simon Bonner
Post-Doctoral Fellow
Department of Statistics, UBC
www.simon.bonners.ca
On Mon, 2009-10-19 at 12:59 -0400, Ashta wrote:
Hi All,
I am using R version 2.9.2 (2009-08-24) window version
and I wanted to use
i have a trend that it is linear at first and then it has a particular trend.
There is a mathematic model, but it describes only the linear part. I have
tried to use a spline regressione, but i have obtained a particular fit
trend that it is unreal. Can i create a spline regression that it is of
.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of serbring
Sent: Saturday, July 25, 2009 3:29 AM
To: r-help@r-project.org
Subject: [R] spline
dear all,
IÂ have a problem about spline, when I send this:
library(mgcv)
attach(SG2)
modele3 - gam(J15STATUS~SWANG1+s(AGE)+ s (SP2),data=SG2,family=binomial)
it doesen't work et it says:
Erreur dans get(.Random.seed,envir=.GlobalEnv)
variable.Random.seed introuvable
Thanks a lot
36 matches
Mail list logo