Displaying 20 results from an estimated 10000 matches similar to: "Lowest number in a numeric string"
2012 Aug 24
6
updating elements of a vector sequentially - is there a faster way?
I would like to know whether there is a faster way to do the below
operation (updating vec1).
My objective is to update the elements of a vector (vec1), where a
particular element i is dependent on the previous one. I need to do this on
vectors that are 1 million or longer and need to repeat that process
several hundred times. The for loop works but is slow. If there is a faster
way, please let
2002 Jan 15
1
labels returned by cut() when include.lowest=T (PR#1263)
Full_Name: Stephen Eglen
Version: 1.4
OS: Redhat Linux 7.1
Submission from: (NULL) (128.252.204.36)
I think the brackets in the levels of cut() are slightly incorrect when
include.lowest is TRUE.
For example:
> table(cut( c(1,4), include.lowest=T, right=F, breaks=c(1,2,3,4)))
[1,2) [2,3) [3,4)
1 0 1
I think the last range in this case should be [3,4]. A similar
problem
2010 Jan 28
2
NA Replacement by lowest value?
Hi all,
I need to replace missing values in a matrix by 10 % of the lowest available value in the matrix. I've got a function I've used earlier to replace negative values by the lowest value, in a data frame, but I'm not sure how to modify it...
nonNeg = as.data.frame(apply(orig.df, 2, function(col) # Change negative values to a small value, close to zero
{
min.val =
2012 Jun 20
4
ranking a vector in R
Hello,
May someone help me with how in R I can rank a vector from highest to
lowest. i.e rank 1 (smallest rank) is given to the highest value instead
of the usual way that it get's the highest rank.
Regards,
Jessy
[[alternative HTML version deleted]]
2008 Jan 30
1
"hist" combines two lowest categories -- is there a workaround?
When preparing a series of histograms I found that hist was combining
the two lowest categories or bins, 1 and 2. Specifying breaks, as
illustrated below, resulted in the correct histogram:
values <- sample(10,500,replace=TRUE)
hist(values)
hist(values,breaks = 0:10)
Apparently, the number of values strictly less than 1 is shown in the
first bin (and since none is less than 1,
2013 Apr 18
1
find lowest AIC of a LM
hello all,
I have a simple linear model with 4/5 variables that I am trying to fit.
I would like to find the lowest AIC value with any combination of all
the variables. I would like to implement this with a while/for loop.
Possibly I would like to generalize this so then I can use it when I
have many more variables. I do not want to use step AIC. At the moment I
am doing it manually but I
2008 Sep 05
5
Lowest k values of list
Hi @ all,
how do I get the largest or lowest k values of list? It must similar to the min() / max() function, but I just don't get it.
Best wishes,
Markus
2008 Nov 24
2
Getting lowest latency sound?
I have been trying to get lowest-latency sound (with highest fidelity) to use with Dragon NaturallySpeaking.
I have Jaunty and the latest RT kernel, which I know has problems for many applications but works fine to run DNS. (It will not, however, install the program nor train it.)
I set up real-time audio access as follows:
sudo su -c 'echo @audio - rtprio 99 >>
2004 Aug 06
3
lowest streamable bitrate?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey Gang,
I figured this is a frequently asked question, however it is not in the
faq.
i am wondering the lowest possible bit-rate to stream ogg at.
is this an ogg limitation or is this dependent on the streaming server.
Thanks in advance,
(please reply to me too as i am not on the list.)
<p>- --------------------------------------
Jeff
2013 Apr 15
3
Indices of lowest values in matrix
Dear R users,Sorry for such a basic question. I really need to know that how can i pick the indices of 5 lowest values from each row of a matrix with dimensions 12*12??Thank you very much in advance
Elisa
[[alternative HTML version deleted]]
2017 Jun 05
2
Lowest functional level 2000 (4.6.4)
I have a samba dc which i recently upgraded to 4.6.4. I was looking at updating the functional level as it currently returns:
Forest function level: (Windows) 2000
Domain function level: (Windows) 2000
Lowest function level of a DC: (Windows) 2000
There is only a single DC (this host).
According to the documentation 2000 isn’t even supported anymore:
2013 Jun 15
1
Lowest bit rate for stereo
Just a quick question. What is the lowest possible bit rate for encoding in stereo in opus?
Peter
2005 May 13
1
Lowest data level since DateX
Hello,
I'm dealing with financial time series. I'm trying to find out X in this
sentence:
The most recent close is the lowest level since X(date).
Here's an example of what I'm looking for:
library(fBasics)
data(DowJones30)
tail(DowJones30[,1:5],n=10)
I need to come up with a vector that would look like this
AA AXP T ...
2000-12-21
2011 Jul 29
1
Lowest values in a vector of numbers
I have a vector of numbers, and I will like to find the positions of the
lowest 20% of the values. Can anyhow point out how to do this. I tried the
ecdf function but to no avail.
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2014 Jan 09
1
ERROR: Could not retrieve the actual domain, forest level and/or lowest DC function level!
Doing some basic sanity checks on our Samba4 setup (migrating off of a
Win2000/Win2003 AD) and the following command is throwing an error. Not
sure how to troubleshoot this as most other things seem to be working.
# samba-tool domain level show
ERROR: Could not retrieve the actual domain, forest level and/or lowest
DC function level!
...
We are running the Sernet Samba package for Active
2012 Sep 18
1
Lowest AIC after stepAIC can be lowered by manual reduction of variables
Hello
I am not really a statistic person, so it's possible i did something completely wrong... if this is the case: sorry...
I try to get the best GLM model (with the lowest AIC) for my dataset.
Therefore I run a stepAIC (in the "MASS" package) for my GLM allowing only two-variable-interactions.
For the output (summary) I got a model with 7 (of 8) variabels and 5 interactions and
2011 Jan 27
2
help for a loop procedure
Hello everybody!
I’m trying to define the optimal number of surveys to detect the highest
number of species within a monitoring season/session.
To do this I want to run all the possible combinations between a set of
samples and to calculate the total number of species for each combination of
2, 3, 4 …n samples events, so that at the end I will be able to define which
is the lowest number of
2012 Mar 01
3
Converting a string vector with names to a numeric vector with names
Not paying close attention to detail, I entered the equivalent of
pstr<-c("b1=200", "b2=50", "b3=0.3")
when what I wanted was
pnum<-c(b1=200, b2=50, b3=0.3)
There was a list thread in 2010 that shows how to deal with un-named vectors, but the same
lapply solution doesn't seem to work here i.e.,
pnum<-lapply(pstr, as.numeric)
or similar vapply
2011 Dec 15
1
Reordering a numeric variable
I'm running a linear model in R using the car package.
I have a variable education, which i have recoded and regrouped to my
wishes.
However, R seems to place each element of that variable in alphabetical
order.
When I am running the model, don't I need the model order from lowest to
highest to make an inference that
a one unit change in one variable produced a one unit change in
2011 Jan 05
4
Match numeric vector against rows in a matrix?
Two posts in one day is not a good day...and this question seems like it should have an obvious answer:
I have a matrix where rows are unique combinations of 1's and 0's:
> combs=as.matrix(expand.grid(c(0,1),c(0,1)))
> combs
Var1 Var2
[1,] 0 0
[2,] 1 0
[3,] 0 1
[4,] 1 1
I want a single function that will give the row index containing an exact match