Hello,
I am running Kruskal-Walis test in R. When I try to save results using
write.table it gives me the following error :
Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
stringsAsFactors) :
cannot coerce class "htest" into a data.frame
The overall code is as follow
Em Qui, 2008-10-16 às 22:31 +0200, Himanshu Ardawatia escreveu:
> Hello,
>
> I am running Kruskal-Walis test in R. When I try to save results using
> write.table it gives me the following error :
>
> Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
> stringsAsFactors) :
Dear Himanshu,
Try ?sink() :
data_file.out <- krukal.test(data_file)
sink("~/DATA/results/data_file_out.txt")
data_file.out
sink()
HTH,
Jorge
On Thu, Oct 16, 2008 at 4:31 PM, Himanshu Ardawatia
<[EMAIL PROTECTED]>wrote:
> Hello,
>
> I am running Kruskal-Walis test in R. When I try to save r
Thank you Phil, Bernardo and Jorge for all your help. All your suggested
options work very well !
Regards
Himanshu
\\
On Fri, Oct 17, 2008 at 5:01 AM, Bernardo Rangel Tura
<[EMAIL PROTECTED]>wrote:
> Em Qui, 2008-10-16 às 22:31 +0200, Himanshu Ardawatia escreveu:
> > Hello,
> >
> > I am running
4 matches
Mail list logo