[R] arcsine transformation

From: Claire Sheller <clairesheller_at_gmail.com>
Date: Wed, 30 Apr 2008 15:52:35 -0500

I have been trying to preform both a bartlett's test and an arcsine transformation on some average percentage data. I've tried inputting it different ways and I keep getting the same error message:

> head(workingdata)


1 BG-FL 4.606772  5.787520
2 BG-LL 5.467503  7.847395
3 AD-MV 5.333735 11.107380
4 MM-FL 5.578708 12.063500
5 MM-MV 2.037605  6.415303
6 MM-RM 6.158885 11.911080

> bartlett.test(BEFORE ~ AFTER)

Error in bartlett.test.default(c(4.606772, 5.467503, 5.333735, 5.578708, :   there must be at least 2 observations in each group
> asin(BEFORE)

[1] NaN NaN NaN NaN NaN NaN NaN
Warning message:
In asin(BEFORE) : NaNs produced

I'm at a loss here and I would greatly appreciate any guidance that could be given me. Thank you!

Claire Sheller
Department of Anthropology
Tulane University
New Orleans, LA 70118

	[[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 30 Apr 2008 - 21:07:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 01 May 2008 - 00:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive