Displaying 6 results from an estimated 6 matches for "lowlim".
Error with custom function in apply: Error in FUN(newX[, i], ...) : unused argument(s) (newX[, i])
2013 Mar 23
1
Error with custom function in apply: Error in FUN(newX[, i], ...) : unused argument(s) (newX[, i])
Hi everyone,
I wonder if I can get your help using a custom function in apply.
Imagine the following dataframe called "data":
LowLim HighLim A1 A2 A3 A4
4 6 3 4 5 6
4 6 4 5 5 6
2 3 1 4 2 3
2 3 NA NA NA NA
We have created a custom function (see below) that takes the values in
a given row between columns A1 to A4 to see if they are outside the
limits in the same row set by columns LowLim and HighLim, if at le...
2003 Sep 27
2
CI on median
Dear friends, I'm probably wrong but is there anything better than
bootstrap to get a confidence interval of the median from a population with
unspecified distribution ?
Best wishes
Troels Ring, Aalborg, Denmark
2008 Mar 12
4
hello! i need help for a specific graphic issue
hello, ladyes and gentlemans.
check this:
means<-c(4,6,8)
stand.error<-c(0.1,0.3,0.5)
now i've strongly tryed to scatterplot the
means(y-axis),by showing their sd with the
arrow(..,code=3,angle=90) function.
The problem is that my x-axis has categorical values
(say, factor(x)), and the arrows() can't recognize
them as right coordinates.
?????
thank you all in advance
B.F. insubria
2011 Dec 28
2
convert variable types when creating data frame from cor.test results
...do I convert each
variable from the cor.test results to a numeric data type, as it is
passed into the new dataframe? For example, 'estimate', 'p.value', and
'conf.int' should be numeric not character. Second, I would like
variable 'conf.int' to be two variables, 'lowlim' and 'uplim'.
Many Cheers,
Keith
## Create sample dataset
WW_Wing_SI <-
structure(list(Individual_ID = c("WW_08A_02", "WW_08A_02", "WW_08A_02",
"WW_08A_02", "WW_08A_02", "WW_08A_02", "WW_08A_02", "WW_08A_02&...
2007 Mar 28
1
warnings on adapt
...!", "Ifail=4, minpts > maxpts; should not happen!", "Ifail=5, internal
non-convergence; should not happen!", )
When it finishes:
Warning messages:
1: Ifail=2, lenwrk was too small. -- fix adapt() !
Check the returned relerr! in: adapt(ndim = 1 + numcycles, lower =
rep(lowlim.int, (numcycles +
2: NA/Inf replaced by maximum positive value
Some people already asked similar questions but couldn't find the answer.
Thanks in advance
Luz
PS: When using the function adapt only (not within nlm) it gives no warnings.
2008 Mar 24
1
Question about as.numeric with tclvalue
Dear R People:
I have an interactive menu via an Rcmdr extension package which asks
for lower and upper limit to evaluate.
Typically, I use:
assign("a",as.numeric(tclvalue(lowlim)),envir=.GlobalEnv)
and that's fine.
However, if I try to use pi or Inf or -Inf, I get either coerced NAs or NaN.
Does anyone have any suggestions, please?
Thanks,
Erin
PS Happy Easter if you celebrate Easter.
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sc...