[Rd] Cannot Change Function (PR#14041)

2009-11-04 Thread michael_karsh
Full_Name: Michael Aaron Karsh Version: 2.8.0 OS: Windows XP Submission from: (NULL) (75.61.102.255) Whenever I try changing a function, it keeps coming up with the same error message. I have the function CN_state_log_sum=function(Tot_log_sum){ #estimate copy number state for the log sum approac

[Rd] Use of lm on polynomial models (PR#14014)

2009-10-19 Thread michael_karsh
Full_Name: Michael Aaron Karsh Version: 2.8.0. OS: Windows XP Submission from: (NULL) (75.61.102.255) When I try lm(w ~ h^3 + h^2 + h) for example, it only gives coefficients for the intercept and for h. It does not give coefficients for h^2 or h^3. _

[Rd] lm function (PR#13608)

2009-03-18 Thread michael_karsh
Full_Name: Michael Aaron Karsh Version: 2.8.0 OS: Windows XP Submission from: (NULL) (75.61.109.172) I tried using the lm function to regress the third column listed below on the second column listed below. It gave me an error message. My code is below. > HDISWLSdata=read.table("RHDISWLS.txt")

[Rd] logical comparison of functions (PR#13588)

2009-03-10 Thread michael_karsh
Full_Name: Michael Aaron Karsh Version: 2.8.0 OS: Windows XP Submission from: (NULL) (164.67.71.215) When I try to say if (method==f), where f is a function, it says that the comparison is only possible for list and atomic types. I tried saying if (method!=f), and it gave the same error message.