similar to: List of occuring values

Displaying 20 results from an estimated 400 matches similar to: "List of occuring values"

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"
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.
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!
2008 Feb 16
2
Adding elements to existing lists
Dear everybody! Is there a command to add elements to an existing list, at best excluding the addition of already included ones? Thank you in advance. Yours, Mag. Ferri Leberl
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,
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.
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 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
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
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
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,
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 Aug 30
2
xtable
I have installed package xtable with su -c 'R CMD INSTALL xtable' and got this promising feedback: * Installing *source* package 'xtable' ... ** R ** data ** help >>> Building/Updating help pages for package 'xtable' Formats: text html latex example * DONE (xtable) Despite that, R returns: Error: couldn't find function "print.xtable"
2004 Oct 22
3
pgamma discontinuity (PR#7307)
Full_Name: Morten Welinder Version: 2 OS: Solaris/space/gcc2.95.2 Submission from: (NULL) (65.213.85.217) I changed src/nmath/standalone/test.c to read: --------------------------------------------------------------------------------- #define MATHLIB_STANDALONE 1 #include <Rmath.h> #include <stdio.h> int main() { double x; for (x = 99990; x <= 100009; x++) printf
2012 Feb 15
3
(sin asunto)
Hola Alguien me podría decir como hacer una grafica del tipo persp() de la densidad de una distribucion normal bivariante estandarzada con correlacion 0.5?? gracias [[alternative HTML version deleted]]