Displaying 2 results from an estimated 2 matches for "contrastcalc".
2007 May 03
2
Package contrast error
...st(modelStruct = list(reStruct = list
( :
not enough factors
Trying to include the other factor to make R happy....
> tst <- contrast(lme.fnl.REML, a=list(Yr=levels(Yr), Tr="R"), b=list
(Yr=levels(Yr, Tr="T97")), c=list(Yr=levels(Yr, Tr="T98"))
+ )
Error in contrastCalc(fit, ...) : argument 4 matches multiple formal
arguments
Can anyone help with the syntax here?
Thanks
Ken
[[alternative HTML version deleted]]
2010 Feb 03
1
How to show the definition of a S3 function?
> library(contrast)
> contrast
function (fit, ...)
UseMethod("contrast")
<environment: namespace:contrast>
I guess the above function is S3. Could somebody let me know how to
show the function body in an R session?