Displaying 20 results from an estimated 2834 matches for "meaningful".
2012 Feb 29
3
Cannot use negative argument in function
...today i wrote a function in R of the type:
index.refraction <- function(Temp,Press, RH, CO2)
When i try to plug a negative number in Temp, i got this type of error:
"
n <- index.refraction(Temp= -40,100,80,CO2)
Messages d'avis :
1: In Ops.ordered(left, right) : '-' is not meaningful for ordered factors
2: In Ops.factor(left, right) : - not meaningful for factors
3: In Ops.factor(left, right) : - not meaningful for factors
4: In Ops.ordered(left, right) : '-' is not meaningful for ordered factors
5: In Ops.factor(left, right) : - not meaningful for factors
6: In Ops.fac...
2010 Sep 05
1
Warning messages: not meaningful for factors
Dear Experts,
I need to include the repeated structure in our data set object,
recall.sums.df, before using gls function.
Thus I used groupedData.
But I encountered error messages which may mean '*' is not not meaningful
factor.
Please let me know what I have to do.
Thanks,
Jeong
> recall.sums.df[0:10, ]
recall.values recall.ind subj replication hemi region group
1 17.515 rL_GM_T1 1 1 1 1 1
2 18.830 rL_GM_T1 2 1 1 1 1
3 16.477...
2010 Dec 27
1
matrix looping accessing previous column
...EM1_PARTIAL <- CEM1[1:3,1:5]
for(j in 1:ncol(CEM1_PARTIAL))
{
for(i in 1:nrow(CEM1_PARTIAL))
{
if(CEM1_PARTIAL[i,j] == "down")
{CEM1_PARTIAL[i,j-1]= CEM1_PARTIAL[i,j-1] * -1;}
}
}
error:
Warning messages:
1: In Ops.factor(CEM1_PARTIAL[i, j - 1], -1) :
* not meaningful for factors
2: In Ops.factor(CEM1_PARTIAL[i, j - 1], -1) :
* not meaningful for factors
3: In Ops.factor(CEM1_PARTIAL[i, j - 1], -1) :
* not meaningful for factors
4: In Ops.factor(CEM1_PARTIAL[i, j - 1], -1) :
* not meaningful for factors
5: In Ops.factor(CEM1_PARTIAL[i, j - 1], -1) :
* no...
2002 Nov 26
4
[NB] lm problems
...lot of warnings which I have not managed to
parse succesfully:
> lm(G5 ~ N3,data=noscj)
Call:
lm(formula = G5 ~ N3, data = noscj)
Coefficients:
(Intercept) N3.L N3.Q N3.C
3.38087 -0.05821 -0.15364 0.04367
Warning message:
"-" not meaningful for ordered factors in: Ops.ordered(y,
z$residuals)
> summary(lm(G5 ~ N3,data=noscj))
Call:
lm(formula = G5 ~ N3, data = noscj)
Residuals:
[1] <NA> <NA> <NA> <NA> <NA>
Levels: Strongly agree Agree Neither Disagree Strongly disagree
Coefficients:...
2006 Jan 15
8
/ Operator not meaningful for factors
...is, and the data file is large (and I don't know whether I can legally
distribute it). If people can suggest things that might be wrong in my
data or the way that I am reading it, I would be most grateful.
I get the following error message in the session quoted at the end of
this email:
/ not meaningful for factors in: Ops.factor(BookValuePS, Price)
As you can see in that some session, I check that the two vectors
being divided are numeric. I also check that the divisor is not 0 at
any index. I also believe that this is not because of the NA's in the
data. My question is, what are other "...
2011 Nov 10
4
Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
Hello,
Beginner, sorry if this is wasting anyone's time, but have been working on
this for a couple of days now, think it should have take a few hours!
The Problem:
Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, :
max not meaningful for factors
I have tried to re-arrange and check formula. I am working in SIAR, and
cannot get model1 to run because of the error code below. Is this because of
the first column being names? How do I rename the columns and to what?
Below is the code and data frames with some omissions of values....
2009 Aug 20
2
what is the meaning of this error
Error in Math.factor(c(2L, 1L, 1L, 1L, 1L, 3L, 1L, 1L, 1L, 1L, 1L, 1L, :
log not meaningful for factors
In addition:Warning messages:
1: In Ops.factor(LRUpBound, LRLowBound) : * not meaningful for factors
2: In Ops.factor(TransitCoefStdDev, TransitCoefMean) :
/ not meaningful for factors
[[alternative HTML version deleted]]
2012 Oct 04
1
Ops.factor(point1, point2) : - not meaningful for factors
...7)","(20, 2)",..: 6 2 3 7 1 4 5
>
> x <- c(15, 45)
> y <- DSi [,2]
> dist <- function (point1, point2)
+ {
+ diff <- point1-point2
+ distance <- sqrt(sum(diff^2))
+ distance
+ }
> dist (x, y)
[1] NA
Warning message:
In Ops.factor(point1, point2) : - not meaningful for factors
>
Regards,
Nadiah
--
View this message in context: http://r.789695.n4.nabble.com/Ops-factor-point1-point2-not-meaningful-for-factors-tp4644971.html
Sent from the R help mailing list archive at Nabble.com.
2008 Jun 04
1
"& not meaningful for factors"
I am trying to define groupings from levels of factor variables and this the warning message that R give
"& not meaningful for factors".
The nature of my task is this. I have a variable stage which has the levels (1B, 2A, 2B) - these are the AJCC TNM stages of cancer, and another variable diameter with factor levels ("=< 4", "4 - 6.5, > 6.5; limit values are exclusive).
I am trying to defin...
2008 Dec 04
1
Formula parsing and updating
...planatory variable from the model with
> update(somemod, ". ~ . - stadium")
I get the following messages:
Fehler in coxph(formula = Surv(lebzeit, tot == 1) ~ sex + alter >= 65 + :
No (non-missing) observations
Zus?tzlich: Warning messages:
1: In Ops.factor(sex, alter) : + not meaningful for factors
2: In Ops.factor(65, diff3k) : + not meaningful for factors
3: In Ops.factor(65 + diff3k, zelltyp_k_c) : + not meaningful for factors
4: In Ops.factor(65 + diff3k + zelltyp_k_c, q_nuc_3k) :
+ not meaningful for factors
5: In Ops.factor(65 + diff3k + zelltyp_k_c + q_nuc_3k, kar_k80_g80...
2003 Jan 02
1
aggregate: "sum" not meaningful for factors
Dear all,
I try to summarise my data per category using aggregate, but for some
reason I get the error message "sum" not meaningful for factors even though
my vector is numeric. The data set is shown below.
Could someone please give a hint.
Thanks in advance!
Sincerely,
Tord
> names(test)
[1] "ObjektID" "tallstubbyta"
> is.factor(test$ObjektID); is.factor(test$tallstubbyta)
[1] TRUE
[1] FALSE...
2005 Jun 16
2
[LLVMdev] Useless/Mis-placed Tests?
For some time now the tests in llvm-test/SingleSource/Regression and
llvm-test/SingleSource/UnitTests have been producing no meaningful
performance data other than "working". I think one of two things should
be done, on a case-by-case basis:
1. Tests that are clearly simple, quick running tests should be moved
into the llvm/test/Regression directory and made part of the deja-gnu
suite since they are supposed to test func...
2011 Jan 05
1
Minimum of an ordered factor
Hi everybody,
Is there a particular reason, why this code does not work as intended:
z <- factor(LETTERS[1:3], ordered = TRUE)
u <- 4:6
min(z[u > 4])
Error in Summary.factor(2:3, na.rm = FALSE) :
min not meaningful for factors
I agree that min is indeed not meaningful for not ordered factors, but
it makes sense for ordered factors. Especially since
z[3] < z[2]
sort(z)
_ARE_ defined and work as expected. Of course I can do something like
sort(z[u>4])[1]
but this does not enhance rea...
2003 Dec 22
1
[R] lattice: levelplot: error: min not meaningful for factor (PR#6005)
R 1.8.1:
___COMMAND____________________________________________
levelplot( yield ~ year * variety | site, barley )
___ERROR_MESSAGE______________________________________
Error in Summary.factor(..., na.rm = na.rm) :
"min" not meaningful for factors
___COMMENT____________________________________________
levelplot( yield ~ as.numeric(year) * as.numeric(variety) | site, barley )
is working but the labels are nasty.
Best regards
Wolfram
2018 Mar 22
3
How do I include a factor in a groupedData object? Meaning and use of inner and outer parameters
...dio, R version 3.4.3
Several questions relating to groupedData:
(1) I am trying to create a groupedData object that can be used to run an analysis that I have been able to urn using lmer. When I include the interaction terms in the groupedData opbject I get an error message stating that + is not meaningful for factors. How do I include factors in my model? See code and error below.
(2) I have read the help file for groupedData multiple times. I am unable to understand the meaning or, or the use for the inner= and outer= parameters in the call to groupedData. Can someone either explain the meaning of...
2008 May 27
2
Help with Writing Meaningful Specs
...arise when trying to write the specs for this
method. I started from scratch slowly building up the specs but it has led
to an awful amount of mocks and stubs, and I am not even sure whether they
are asking the correct things of the method.
Can anyone give me some pointers on how to write useful, meaningful specs
for this method?
The other thing I have found is that I seem to have incorrectly stubbed
xml.elements.each meaning that the contents of the block are never called,
how should I be specifying this behavior?
I have pastied the complete code for the Feed model, the spec and a little
helper at:...
2010 Dec 14
1
rpart - how to estimate the “meaningful” predictors for an outcome (in classification trees)
Hi dear R-help memebers,
When building a CART model (specifically classification tree) using rpart,
it is sometimes obvious that there are variables (X's) that are meaningful
for predicting some of the outcome (y) variables - while other predictors
are relevant for other outcome variables (y's only).
*How can it be estimated, which explanatory variable is "used" for which of
the predicted value in the outcome variable?*
Here is an example code in which x...
2000 Apr 07
1
lme questions (was difference between splus and R)
> Date: Fri, 7 Apr 2000 09:55:08 -0400 (EDT)
> From: Faheem Mitha <faheem at email.unc.edu>
[I have given a more meaningful subject line.]
> On Fri, 7 Apr 2000, Prof Brian D Ripley wrote:
>
> > On Thu, 6 Apr 2000, Faheem Mitha wrote:
> >
> > > I'm running splus 5 on a solaris platform remotely, and running R on linux
> > > on my home machine.
...
> >
> > Might I su...
2015 Sep 29
3
making object.size() more meaningful on environments?
...bytes
env3 <- list2env(list(a=runif(25000000), L=LETTERS))
object.size(env3) # 56 bytes
This makes it pretty useless on reference class instances and other
objects that use environments internally for caching or other purposes.
What about changing this and make it return something more meaningful?
Cheers,
H.
--
Herv? Pag?s
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpages at fredhutch.org
Phone: (206) 667-5791
Fax: (206) 667-1319
2015 Sep 29
0
making object.size() more meaningful on environments?
...nv(list(a=runif(25000000), L=LETTERS))
> object.size(env3) # 56 bytes
>
> This makes it pretty useless on reference class instances and other
> objects that use environments internally for caching or other purposes.
>
> What about changing this and make it return something more meaningful?
>
> Cheers,
> H.
>
> --
> Herv? Pag?s
>
> Program in Computational Biology
> Division of Public Health Sciences
> Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N, M1-B514
> P.O. Box 19024
> Seattle, WA 98109-1024
>
> E-mail: hpages at fred...