Re: [R] Spline Graphs

2015-06-29 Thread Gabor Grothendieck
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 <- rbind(cbind(Id = 1, BOD), cbind(Id = 2, BOD))
library(lattice)
xyplot(demand ~ Time | Id, L, type = c("p", "spline"))

On Mon, Jun 29, 2015 at 2:28 AM, deva d  wrote:

> 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]]
>
> __
> 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
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

[[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 http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Spline Graphs

2015-06-29 Thread Sarah Goslee
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 2:28 AM, deva d  wrote:
> 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*

-- 
Sarah Goslee
http://www.functionaldiversity.org

__
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 http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Spline Graphs

2015-06-28 Thread deva d
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]]

__
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 http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.