I am looking for assistance in figuring out how to use the circular-linear 
regression in package circular.
See below for an example of what I have been trying. If anyone can help me with 
this please reply to my email address.
Thank you,

This is what I have been doing:
with a linear variable x; lets use >x=c(1:10)
and a circular variable y; for example 
>y=circular(c(123,239,265,342,198,253,343,237,162,247),units='degrees')
trying to do the regression; >lm.circular(y,x, type='c-l')
I get the error, >Error in lm.circular.cl(...) : 'init' is missing with no 
default
But I tried to create a vector, init with the same columns as x (as the 
description of c-l regression says and I still get an error)
>Error in lm.circular.cl(...) : 'init' must have the same number of elements as 
>the columns of 'x'

Any assistance is appreciated.

Kristen Covino
Graduate Student and Teaching Assistant
School of Biology and Ecology
University of Maine at Orono
5751 Murray Hall
Office: 217
Phone: 207-581-2547
Email: [EMAIL PROTECTED]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to