similar to: how to calculate the mode of a continuous variable

Displaying 20 results from an estimated 10000 matches similar to: "how to calculate the mode of a continuous variable"

2003 Dec 03
2
nameless functions in R
Hi, I have an apply statement that looks like: > check.cols <- function(v1, v2) { + return( identical(v1,v2) ); + } > x [,1] [,2] [,3] [1,] 1 3 3 [2,] 4 5 4 [3,] 2 7 6 > apply(x, c(2), check.cols, v2=c(7,8,9)) [1] FALSE FALSE FALSE Is it possible to make the function check.cols() inline to the apply statement. Some thing like this: apply(x,
2007 Jun 28
3
Function call within a function.
I am trying to call a funtion within another function and I clearly am misunderstanding what I should do. Below is a simple example. I know lstfun works on its own but I cannot seem to figure out how to get it to work within ukn. Basically I need to create the variable "nts". I have probably missed something simple in the Intro or FAQ. Any help would be much appreciated. EXAMPLE
2010 Jun 23
1
calculating using user provided function
Sir, I'm writing a program in R that requires the user to provide a funtion. On the basis of the user provided function the program will proceed further and give results. Is there any technique in R that allow a user to give his own function and on the basis of that function the program will work. Regards, Suman Dhara [[alternative HTML version deleted]]
2004 Jun 01
3
1.0-test14: no sendfile() in Solaris 8
Aloha. The current CVS snapshot and 1.0-test14 will not build on Solaris 8 because it does not provide a sendfile() funtion. It just has sendfilev(). Solaris 9 has sendfile(), though. Using the old sendfile-util.c from 1.0-test1 and setting HAVE_SOLARIS_SENDFILEV instead of HAVE_LINUX_SENDFILE in config.h works. Greetings, Andy.
2004 Dec 11
2
[LLVMdev] calling the printf funtion
Hi, I would like to display results on the screen . Can I use the printf function in LLVM? How do I call the funtion? Could someone give me an example Thanks Jai
2009 Feb 25
2
Have any way to write a funtion into a list ?
Have any way to write a funtion into a list ? -- Nash - morrison at ibms.sinica.edu.tw
2011 Nov 30
1
help about fitdistr funtion
Hi, I have a variable X classified in a lot of groups and I need to run the [fitdistr] funtion for each group. I tried with the [by] or the [tapply] funtions because my data is organize in two columns (variable and the groups), but neither of these command work. If somebody have a tip to help me up I really appreciate it. thanks, [[alternative HTML version deleted]]
2007 Aug 02
4
Finding multiple characters in the same string
Hi I have this problem where I need to find if there is any numbers in a string, this is no problem if theres only one number per string. I would then simply use the regexpr() funtion togheter with the substring function to extract the number. But regexpr only picks one number per string either from the beginning or the end, but not multiple. Can this be done? And how for example My string <-
2010 Apr 06
4
Need Help with Manipulating Columns
I have uploaded the property data from Lee County Property Appraiser into R, but my problem is that I am unable manipulate and use many of the columns because they are classified as factors. I think this is because the values represent selling prices and therefore have $ in front of them. I tried using as.integer but this funtion converts the values into a totaly useless form. Is there a way to
2007 Oct 26
1
Help needed on calculation of Moran's I
Hi, I am trying to calculate Moran's I test for the residuals for a regression equation, but I have trouble converting my coordinates into nb format. I have used the dnearneigh() funtion now with an arbitrarily high upper distance to make it include all plots. However, when I do the lm.morantest() I get a Moran's I value which is the same as the expected value and a P-value of 1. I
2000 Feb 23
1
Console font size
It is posible to change the console font size? What in the funtion needed? Tanks in advance Eusebio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at
2017 Dec 21
4
Wish List: base::source() + Add Execution Time Argument
Dear R Developers, Adding to source() base function a Timer which indicates the execution time of the source code would be a very well welcome feature, and in my opinion not difficult to implement as an additional funtion argument. The source(timing = TRUE) function shall execute internally the following code for each statement: old <- Sys.time() # get start time at the beginning of source()
2004 Oct 18
2
答复: How to draw x-axis time label.
Thank you for helping me! I try the "pretty" funtion to select the x-axis position value.Then I use the "format" funtion. xax.pos <- pretty(as.numeric(x$x.name)) format(xax.pos,'%d %b %y') > xax.pos [1] 1091600000 1091800000 1092000000 1092200000 1092400000 1092600000 1092800000 [8] 1093000000 There are something wrong. I found the xax.pos has been changed to
2006 Jan 10
2
(no subject)
Dear ladies and gentlemen! When I use the plot funtion how can I change the size of the title for the x and y axes (xlab, ylab)and the size of the axes label ? Thank you very much. With best regards Claudia
2017 Mar 06
2
Missing security tab samba 4.1.13
>Adding a pointer record for the server didn't help either. I am going to test another Windows PC now to see if the problem exists there as well. > >  >BC I just realized that I omitted an important piece of information and that is that I am using a separate EXT4 volume for my shares. I just did a test and it seems that shares on the same volume as sysvol and netlogon funtion as
2004 May 25
2
equivalent of the Splus function "eboulis()"
Hi, Is there a equivalent of the function "eboulis()" (which is a new funtion on Splus) on R? Otherwise, with which function can we see the best number of cluster we have to choose? Thanks in advance, Nicolas BOUGET
2012 Aug 15
2
sensitivity and specificity in svyglm??
Hello, As obtained from a table svyglm clasificaion, sensitivity and specificity. The funtion ConfusionMatrix () of the library (caret) gives these results but not how to apply it to svyglm. thanks [[alternative HTML version deleted]]
2004 Dec 11
2
[LLVMdev] calling the printf funtion
The gcc front-end page in llvm.cs.uiuc.edu seems to be down for the last 18 hrs. I was finding that tool very useful to get the syntactic constructs, could someone fix it ? Thanks Jai On Sat, 11 Dec 2004 11:10:00 -0600, Vikram S. Adve <vadve at cs.uiuc.edu> wrote: > Just compile a trivial C program containing printf through llvm-gcc and > you will see how to call printf from within
2001 Aug 20
2
lm
By error I used the function lm with arrays. Is this a legal action? funtion call: h.lm<-lm(h.0~h.9+h.8) where all of the variables are arrays of dimension 722,6,10 Thank you for your help. Thomas Pesl -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2009 Apr 14
2
questions about xapian
Hi! Alls ???? i have read code of xapian more than one month,i leant a lot from your code both form design of search engine and code details. ???? however, something make me in a puzzle. ? ?? Take? RefCntBase as an example, it seems that it is a "kernel" of xapian, as many classes inherit from it. But,what is it funtion? why is it so important? ???? Another confusion is about