Re: [R] Row exclude

2022-01-28 Thread Bert Gunter
As character 'polluted' entries will cause a column to be read in (via read.table and relatives) as factor or character data, this sounds like a job for regular expressions. If you are not familiar with this subject, time to learn. And, yes, some heavy lifting will be required. See ?regexp for a

Re: [R] Error in if (fraction <= 1) { : missing value where TRUE/FALSE needed

2022-01-28 Thread Avi Gross via R-help
Javed, Your explanation allows many other ways to look at the problem.  Some of them skip steps and get to the point faster. Of course, I do not know what exactly you mean by the "fairness object" other than guessing it does an evaluation of what you supply and lets you know if it is fair.

Re: [R] Error in if (fraction <= 1) { : missing value where TRUE/FALSE needed

2022-01-28 Thread Avi Gross via R-help
Javed, Your explanation allows many other ways to look at the problem.  Some of them skip steps and get to the point faster. Of course, I do not know what exactly you mean by the "fairness object" other than guessing it does an evaluation of what you supply and lets you know if it is fair.

Re: [R] R CMD BUILD converting data file format?

2022-01-28 Thread Carl Witthoft
Never mind; I had a brain cramp and confused the value returned from data() with the actions taken. My data objects were properly loaded into my environment. Apologies to this list. Carl On 1/28/22 3:23 PM, Jeff Newmiller wrote: I am not aware of R files being converted to rda... I

Re: [R] unbalanced design in multifactor anova....

2022-01-28 Thread Rolf Turner
On Sat, 22 Jan 2022 11:56:14 + akshay kulkarni wrote: > dear members, > Thanks Peter, Bert, Rolf and Terry. Regrets > to reply this late. > > iF you say that balancedness is not required for lm, I think there is > some inconsistency. The coded vectors can still be

[R] R CMD BUILD converting data file format?

2022-01-28 Thread Carl Witthoft
When I run the shell command R CMD BUILD mypackage the builder converts *.R files to *.rda data files. This seems to conflict with the information in R-Exts which says a package's /data directory can contain foo.R files which the function data() will call source() to execute. In my case,