similar to: Adding elements to existing lists

Displaying 20 results from an estimated 1100 matches similar to: "Adding elements to existing lists"

2007 Dec 09
4
Arguments become nonnumeric
Dear Everybody, Enclosed are the tiny beginning of a program and its output. As a pity, if I load the image <load("kanal.RData")> the elements of <de.dd> are non numerical; <de.dd[2]+de.dd[3]> returns <Fehler in de.dd[2] + de.dd[3] : nicht-numerisches Argument f??r bin??ren Operator>. How can I keep the numbers numerical? Thank you in advance. hopefully, Mag.
2008 Jan 14
3
problems with .svg
Dear everybody! I am making a graph in R and employ pstoedit to expot the .pdf-output to .svg. When I open the .svg with firefox I get the .svg-code shown wit the following header: "Mit dieser XML-Datei sind anscheinend keine Style-Informationen verkn?pft. Nachfolgend wird die Baum-Ansicht des Dokuments angezeigt." Which information should how be included? Thank you in advance. Yours,
2006 Sep 22
2
inequality with NA
Dear everybody! take a<-c(5,3,NA,6). if(a[1]!=NA){b<-7} if(a[3]!=5){b<-7} if(a[3]!=NA){b<-7} if(a[3]==NA){b<-7} will alltogeather return Fehler in if (a[1] != NA) { : Fehlender Wert, wo TRUE/FALSE n?tig ist (or simularly). Somehow this is logical. But how else should I get out, whether a certain vector-component has an existing value? Thank you in advance! Yours, Mag. Ferri
2010 Feb 07
3
Noval numbers
Dear everybody, How can I transform numbers to a positional system with the base of, e.g., nine, and do further operations with them? Thank you in advance Yours, sincerely Mag. Ferri Leberl
2006 Jul 14
2
Export to LaTeX
Dear Everybody! I want to export data to LaTeX. As I want to employ the data as freely as possible I want to avoid the xtable-command and instead generate some List like \MyOwnPrettyCommand{Adam}{Auer}{17} \MyOwnPrettyCommand{Bertram}{Bauer}{14} \MyOwnPrettyCommand{Christoph}{Huber}{75} \MyOwnPrettyCommand{Damian}{Dorfer}{69} \MyOwnPrettyCommand{Emanuel}{Eder}{43} with \MyOwnPrittyCommand
2005 Apr 20
6
Histogram
Dear everybody! I am analysing data from an enquette. The answers are either A or B. How can I draw a histogram without transforming the data from characters to numbers? If the data are saved in a list M, hist(M[,1]) returns: Error in hist.default(M[, 1]) : `x' must be numeric Execution halted Thank you in advance!
2007 Jul 09
1
making groups
Dear everybody! If I have an array of numbers e.g. the points my students got at an examination, and a key to group the numbers, e.g. the key which interval corresponds with which mark (two arrays of the same length or one 2x(number of marks)), how can I get the array of absolute frequencies of marks? I hope I have expressed my problem clearly. Thank you in advance. Mag. Ferri Leberl
2007 Dec 16
1
Working with ranges of a list
Dear everybody! Please find attached a tiny R-program. It returns: [,1] [,2] [1,] 53.55 NA [2,] 53.55 NA [3,] 53.55 NA How can I manage the first column to show the second component not only of the first list in k??ste but of the second component of every list in k??ste respectively, such as to get the following array returned: [,1] [,2] [1,] 53.55 NA [2,] 53.87 NA [3,] 53.87
2017 Sep 21
4
List of occuring values
Dear all, ftable produces a list of the frequencies of all occuring values. But how about the occuring values? How can I retrieve a list of occuring values? How can I retrieve a table with both the list of occuring values and their respective frequencies? Thank you in advance, Yours, Ferri
2017 Sep 21
0
List of occuring values
unique(x) will give you the distinct values in x. table(x) will give you the distrinct values and their frequencies as an array with dimnames. data.frame(table(x)) will give you a 2-column data.frame with the distinct values and their frequencies. > values <- c("Small", "Large", "Large", "Large") > unique(values) [1] "Small"
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl, I'm using something like: ----------------------- tex.tex --------------------------- \documentclass{article} \usepackage{graphicx} \usepackage{fancyvrb} \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} \newcommand{\myinput}[1] {\begin{scriptsize} \VerbatimInput[frame=single,label=#1]{#1} \end{scriptsize}} \title{The R logo,
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl, I'm using something like: ----------------------- tex.tex --------------------------- \documentclass{article} \usepackage{graphicx} \usepackage{fancyvrb} \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} \newcommand{\myinput}[1] {\begin{scriptsize} \VerbatimInput[frame=single,label=#1]{#1} \end{scriptsize}} \title{The R logo,
2004 Sep 29
5
Warning: number of items to replace is not a multiple of replacement length
What does this warning mean precisely? Is there any reason to care about it? Can I Avoid it by another way of programming? Thank you in advance.
2004 Feb 13
1
RES: AGREP
"Marcos Sanches" <marcos.sanches at ipsos-opinion.com.br> wrote: Ls1<-length(s1) Ls2<-length(s2) for ( p in 1:ls1){ for (q in 1:ls2){ t1<-levenshteinFast(s1[p],s2[q]) ... Ls1=42000 Ls2=70000 I think I will wait for months untill this program ends. Do you have any sugestion to increase the speed? The first suggestion has to be "search HARD in the
2012 Apr 11
12
[Bug 8856] New: --hard-links does not handle hard-linked symlinks correctly on FreeBSD
https://bugzilla.samba.org/show_bug.cgi?id=8856 Summary: --hard-links does not handle hard-linked symlinks correctly on FreeBSD Product: rsync Version: 3.0.7 Platform: All OS/Version: FreeBSD Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at
2005 Apr 06
3
Error in hist.default(A) : `x' must be numeric
Dear everybody! I have load a list A of numbers and want a histogram to be drawn. on hist(Y) the Machine returns: Error in hist.default(A) : `x' must be numeric I found out, that the list is of type data.frame. Y<-as.numeric(Y) returns Error in as.double.default(A) : (list) object cannot be coerced to double What schould I do? Than you in advance!
2005 Jun 26
2
visualizing frequencies
Dear everybody, In our game-theory lesson we have run several classroom-experiments where the students had to decide for a natural number between one and seven. I have troubles now to visualize the results: be a the vector of answers. hist(a) will not assume natural numbers as answers, but rational. It will make the brakes exactly at the natural numbers, which is difficult to interpret, as
2006 Nov 21
2
Random-numbers not random
Dear everyone! Since I saved the workspace-image I get the same row of random-numbers everytime I run R. How can I make the random-numbers random again? Thank you in advance!
2007 Aug 15
1
"ungültige Versionsspezifikation"
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: https://stat.ethz.ch/pipermail/r-help/attachments/20070815/4da75454/attachment.pl
2005 May 22
11
[Bug 2734] --delete doesn't work
https://bugzilla.samba.org/show_bug.cgi?id=2734 ------- Additional Comments From vanes002@umn.edu 2005-05-21 22:15 ------- Your rsync options (-arRWxn) include -n, so nothing is actually going to get deleted on the destination, even though rsync reports that they are being deleted (which is what -n is for - i.e. to preview what will happen). -- Configure bugmail: