Re: [R] Hysteresis modeling and simulation

2011-09-08 Thread Bill Harris
On Mon, Sep 5, 2011 at 12:25 AM, Yvonnick Noel wrote: > Hi Bill, > > I once modelled a hysteresis phenomenon (on binary data) with a simple > logistic model. I am not sure I understand how this pattern appears in your > data, but in my previous analyses, it appeared as an order effect: The > resp

[R] Hysteresis modeling and simulation

2011-09-01 Thread Bill Harris
Can anyone suggest a package or code for modeling a hysteresis process in R? I'm currently modeling a certain dataset with a GAM using mgcv, something like gam(y~ s(x, by=z) + z, family = Gamma(link=log),data=data) and getting fits with about 9 estimated degrees of freedom in the smooth for eac

Re: [R] tzone and DST

2011-02-10 Thread Bill Harris
x27;m not yet sure what happens in the fall. Is there a best practice for dealing with periodic (hourly, quarter-hourly, etc.) data that spans the DST change such that graphs of time series, etc., are easily understood? Thanks, Bill -- Bill Harris http://makingsense.facilitateds

[R] tzone and DST

2011-02-10 Thread Bill Harris
I'm reading in ~3 years worth of data that includes hourly timestamps. Presumably to avoid DST confusion, all the data is in PST time zone -- no discontinuities in the spring or fall. The data comes in a csv file, which I'm reading with myvariable <- read.csv("my_data_file.csv",header=FALSE, col

[R] R2wd and ESS: printing source?

2010-07-14 Thread Bill Harris
Thanks, Bill - -- Bill Harris http://makingsense.facilitatedsystems.com/ Facilitated Systems Everett, WA 98208 USA http://www.facilitatedsystems.com/ phone: +1 425 374-1845 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux)

Re: [R] Analyzing large transition matrix

2010-06-24 Thread Bill Harris
auto example was made up; my real raw data is about a different subject and has far more columns, but I think I can abstract it down. Thanks again. I'll try those ideas out when I get the data in the correct format, and then I'll let you know if I have more questions. Bill -- B

[R] Analyzing large transition matrix

2010-06-23 Thread Bill Harris
omes out 108 78, which is still too big to print or visualize. Suggestions? Thanks, Bill -- Bill Harris http://makingsense.facilitatedsystems.com/ Facilitated Systems Everett, WA 98208 USA http://www.facilitatedsystems.com/

Re: [R] Problems installing lme4 on Ubuntu

2008-12-19 Thread Bill Harris
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Harris writes: >> This shows you how you can get current R binaries with just one apt-get >> command. With that, you then get to decide if you want the prebuild r-cran-* >> packages (as e.g. r-cran-lme4) or whether you

Re: [R] Problems installing lme4 on Ubuntu

2008-12-19 Thread Bill Harris
te again now that I'm on Ubuntu. > The following object(s) are masked from package:stats : > > xtabs Ah. So, whatever that means, it must be okay. :-) Bill - -- Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems

Re: [R] Problems installing lme4 on Ubuntu

2008-12-19 Thread Bill Harris
texthtmllatex example | sleepstudy texthtmllatex example | ** building package indices ... | * DONE (lme4) | | The downloaded packages are in | /tmp/RtmpZmO6Lb/downloaded_packages | > display() | Error: could not fin

[R] Problems installing lme4 on Ubuntu

2008-12-19 Thread Bill Harris
t; ` Any suggestions on next steps? The best I found in searching was that I needed to load certain packages in Ubuntu, and I hoped I had done that when I finally loaded science-statistics. Thanks, Bill - -- Bill Harris http://facilitatedsystems.com/weblog/ Facili