Displaying 20 results from an estimated 1000 matches similar to: "help"
2013 Jun 21
2
an issue about removing "NA"s from an array
Hi,*
*I would like to set the entries of an array that appear as "NA" to a
certain integer, but did not find a way to do so. The related code is given
below:
A <- array(-1000 , dim=c(100) );
for(i in 1: 100 ){
A[i] =B[i,57] - B[i,5];
}
A [ which( A == "NA") ] <- 900;
The "NA"s still appear as the entries of the array A.
Can you tell me what is
2017 Oct 12
0
comparing two strings from data
It's generally a very good idea to examine the structure of data after you have read it in. str(data2) would have shown you that read.csv() turned your strings into factors, and that's why the == operator no longer does what you think it does.
use ...
data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE)
... to turn this off. Also, the %in% operator will achieve
2017 Oct 12
4
comparing two strings from data
Hi,
I have two columns that contain numbers along with letters (as shown below)
and have different lengths. Each entry in the first column is likely to be
found in the second column at most once.
For each entry of the first column, if that entry is found in the second
column, I would like to get the corresponding index. For instance, if the
first entry of the first column is 5th entry in the
2017 Oct 13
1
comparing two strings from data
Combining and completing the advice from Greg and Boris the complete
solution is two lines:
data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE)
match_list <- match( data_2$data1, data_2$data2 )
The vector match_list will have the matching position when it exists and
NA's otherwise. Its length will be the same as the length of data_2$data1.
You should get
2008 Jun 17
1
invalid arguments RUNIF
Hi all
I would be grateful you can help me with my problem.
I try to run an optimization code . in one line I have runif in order to sample the PDF. I get this error while i run it.
Error in runif(1, f$d[[n.of.u.vars + n.of.o.vars + j]][[2]][1], f$d[[n.of.u.vars + :
invalid arguments
Here is a part of that code:
# initialize random numeber generator
if (seed>0)
2010 Dec 29
5
linear regression for grouped data
Hi,
I have been examining large data and need to do simple linear regression
with the data which is grouped based on the values of a particular
attribute. For instance, consider three columns : ID, x, y, and I need to
regress x on y for each distinct value of ID. Specifically, for the set of
data corresponding to each of the 4 values of ID (76,111,121,168) in the
below data, I should invoke
2002 Nov 14
3
compile from source (win2000)
..many thanks, no it works until he didn't find hhc.exe (..but the path to
HTMLHelpWorkshop should be correct !?)
and break down, ok i just check all path settings and find a solution for my
self !
But here another problem:
...modify without the MkRules in my current binary R.1.6.1\src\gnuwin32
C:\DataMining\rw1061\library>Rcmd INSTALL Oop
make: Entering directory
2002 Nov 08
1
Corrupted file error message installing from rw1061.exe
R-Help readers:
I have downloaded rw1061.exe several times from CRAN and one of the mirrors,
and when installing I get two error messages about inability to copy
corrupted files. The two files are:
c:\Program Files\R\rw1061\library\nlme\R\nlme
c:\Program Files\R\rw1061\library\base\html\plotdefault.html
I can probably just reinstall nlme from CRAN, but I'm not sure what to do
about the
2002 Dec 16
1
Creating libraries: Cannot make help
Hi all
I am trying to package a library in R 1.6.1 (Windoze XP).
I have read the document "Writing R extensions" and think I
have done things correctly (though apparently not). I have
searched the mail archives for help to no avail.
I also posted a few days ago and thanks to Peter Dalgaard I have
managed to focus my search for errors.
I am trying to create a library in R. I run the
2011 Nov 30
1
s/n ratio detection etc...
Hi everybody,
I' ve been following this list for a while now.
Is there a way to detect the individual and cumulative s/n ratio values for
the incoming calls in Asterisk or any other Call Center solution?...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111130/d0d53c1f/attachment.htm>
2002 Nov 06
6
how to update installed packages to a new version of R?
I've just installed R 1.6.1 and would like to install all the
contributed packages I had used in 1.5.1.
It's not too hard to do this manually from Rgui, but I wondered if there
is an easier way,
something like writing the results of installed.packages() from 1.5.1 to
a file and
using that with install.packages() in 1.6.1, or just having 1.6.1 read
what's in rw151/library.
--
2005 Jan 05
1
(no subject)
Googling for `rw1061.exe' turned up:
http://www.cipic.ucdavis.edu/~dmrocke/Class/EAD289D/R/rw1061.exe
Andy
> From: Qun Shi
>
> Hi Andy,
>
> Thanks a lot for your promptly response. I searched the whole
> web site, I
> found the source code for version 1.6.X. Since I'm not a
> computer person,
> I don't how to compile it, but what I want is binary file
2002 Nov 08
3
Windows binary for R 1.6.1 FIXED
To Windows R users:
The binary build of R that I uploaded on Tuesday contained errors in
the compiled HTML help files and some of the PDF versions of the
manuals. In particular, the index was missing from the CHM files, and
the table of contents was missing from at least one of the manuals.
I've since found the error in my setup, and have rebuilt the
distribution. I uploaded it to CRAN
2002 Nov 08
3
Windows binary for R 1.6.1 FIXED
To Windows R users:
The binary build of R that I uploaded on Tuesday contained errors in
the compiled HTML help files and some of the PDF versions of the
manuals. In particular, the index was missing from the CHM files, and
the table of contents was missing from at least one of the manuals.
I've since found the error in my setup, and have rebuilt the
distribution. I uploaded it to CRAN
2005 Nov 03
1
R save very huge matrices in files
I have to work with really huge matrices (about 1000*1000 or more). And I want to save those matrices in some file on my computer.
I tried to do so by using the command
write.tabe(SMatrix,file="C:/Programme/rw1061/SMatrix.txt",sep=" ",quote=FALSE,row.names=FALSE,col.names=FALSE)
SMatrix is the matrix I want as a file.
Unfortunately this does not work. Error message:
Error:
2003 Jan 08
3
Errors running R in Batch mode under Win2000
I have made many different attempts to run a R program in Batch mode. I run a DOS command like:
C:\Progra~1\R\rw1061\bin\rterm.exe -q --no-restore --no-save myprogram.R out.txt
What happens:
1. DOS Shell starts up well
2. R starts
3. I get the messages:
"ARGUMENT 'myprogram.R' __ignored__"
"ARGUMENT 'out.txt' __ignored__"
4. R Shell is ready to
2002 Nov 07
3
Compiled help for 1.61 in Win XP ?
I cannot seem to get compiled help working with XP in neither 1.6 or 1.61.
The ReadMe.rw1061 specifies:
(ii) Compiled HTML files. Set this as the default by
options(chmhelp=TRUE) or for individual help items by help(topic,
chmhelp=TRUE). Full text search is available from the Search tab.
According to Microsoft, to make use of this you will need to have IE3
or later installed and a recent version
2002 Dec 20
1
read.ssd {foreign} (Reading a permanent SAS dataset into an R data frame)
I just downloaded and installed R 1.6.1 on my Windows
machine where I also run SAS.
I want to use the 'read.ssd' function so that I can
convert a permanent SAS data set into an R data frame.
I downloaded and installed the package 'foreign' on my
machine, which includes the 'read.ssd' function.
I read the instructions, and followed the example
closely in the R
2003 Feb 22
4
faraway tutorial: cryptic command to newbie
I am just about working through Faraways excellent tutorial "practical
regression and ANOVA using R"
on page 24 he makes the x matrix:
x <- cbind(1,gala[,-c(1,2)])
how can I understand this gala[,-c(1,2)])... I couldn't find an
explanation of such "c-like" abbreviations anywhere.
thanks for a hint.
another problem: I couldn't load the faraway library, using the
2013 Jul 17
2
auto answer
Hello;
Is it possible to configure in the sip.conf for the Phone to be auto answer?
Regards
Bilal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130717/b8e0dc7f/attachment.htm>