similar to: Handling very large integers with factorial and combinat (nCm)

Displaying 20 results from an estimated 600 matches similar to: "Handling very large integers with factorial and combinat (nCm)"

2004 Nov 15
2
Problems installing packages on MacOS with R 2.00
Dear all, I have a problem installing a package required by Hmisc on MacOS 10.3.5 with R 2.00. g77 -fno-common -g -O2 -c avas.f -o avas.o g77 -fno-common -g -O2 -c rlsmo.f -o rlsmo.o gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o acepack.so ace.o avas.o rlsmo.o -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2
2005 Jan 16
2
Empirical cumulative distribution with censored data
Dear list, I would like to plot the empirical cumulative distribution of the time needed by a treatment to attain a certain goal. A number of experiments is run with a strict time limit. In some experiments the goal is attained before the time limit, in other experiments time expires before the goal is attained. The situation is very similar to survivial analysis with censored data. I tryed
2004 Sep 07
1
Multiple comparisons in a non parametric case
Dear all, I am conducting a full factorial analysis. I have one factor consisting in algorithms, which I consider my treatments, and another factor made of the problems I want to solve. For each problem I obtain a response variable which is stochastic. I replicate the measure of this response value 10 times. When I apply ANOVA the assumptions do not hold, hence I must rely on non parametric
2015 Mar 21
3
Combinatoria
Hola buenos días, me presento, me llamo Miguel y 'soy de' y 'vivo en' Galicia. Soy profesor de secundaria (Bachillerato Adultos) y llevo 15 días estudiando R a un buen ritmo, pero todavía me faltan miles de cosas. He visto que R facilita, no solo el análisis de datos y que posee una potencia en cálculos estadísticos a cualquier nivel, sino gran caudal de recursos para Data Mining,
2015 Mar 21
4
Combinatoria
En relación con lo que comenta Carlos, por ejemplo para el caso de las Variaciones sin Repetición, puede ser instructivoenseñar como se construye como por ejemplo: VsinR <- function(m, n){ return (factorial(m)/factorial(m-n))} VsinR(9,3) ------------------------- Creo que con la función factorial que viene por defecto en R puedes construir siguiendo este modelo rápidadmentecasi cualquier
2015 Mar 22
2
Combinatoria
Hola Miguel, Sí se pueden obtener las variaciones con y sin repetición en R. Eso sí están un poco escondidas... Se pueden calcular de esta forma: #---------------------- > #Cargar el paquete gtools > library(gtools) > #Definir el conjunto sobre el que se hará el cálculo > x <- c('rojo', 'azul', 'verde') > #Utilizar la función "permutations()"
2015 Mar 22
3
Combinatoria
Hola amigos, muchas gracias por vuestra ayuda. Entonces veo que mi sorpresa era legítima. Por todos vuestros mails la conclusión es que: - En el módulo base de R no incluye combinatoria elemental, ni siquiera el número combinatorio Cm,n hay que cargar el paquete *combinat* - Y para las variaciones con repetición el paquete* gtools* - Y aún así no tenemos ni las combinaciones ni las
2015 Mar 22
2
Combinatoria
Sí, también... Para las permutaciones, n=r. Y con el parámetro "repeats.allowed" controlas si son con o sin repetción: #---------------------- > #Permutaciones *con repetición* > permutations(n=3, r=3, v=x, repeats.allowed=TRUE) [,1] [,2] [,3] [1,] "azul" "azul" "azul" [2,] "azul" "azul" "rojo" [3,]
2015 Mar 22
2
Combinatoria
Ya me extrañaba a mi! Mañana a primera hora miro todo lo que me comentas. Ahora estoy con ecuaciones no lineales y ya veo que hay que cargar librerias Muchas gracias. Un saludo El 23 de marzo de 2015, 0:08, Carlos Ortega <cof en qualityexcellence.es> escribió: > Hola, > > Por precisar un par de detalles: > > > - Con el paquete gtools se pueden generar: > - las
2015 Mar 23
2
Combinatoria
Hola Jorge, gracias por ayudarme antes de empezar. Ayer me fui a cama con tan solo escribir el título "Ecuaciones no lineales" Básicamente lo que voy a buscar es lo clásico, es decir, resolver cualquier ecuación no lineal, ya sea polinómica o trascendente, con una o varias incógnitas. Ejemplo típico: x^2 + y^2 = 1 y = sin x Si me van surgiendo dudas, aquí estaré, no lo dudéis. Por
2005 Oct 12
1
Using matprod from array.c
Hi, I was wondering if I could use the matprod function from array.c in my own C routine. I tried the following as a test /* my_matprod.c */ # include <Rinternals.h> /* for REAL, SEXP etc */ # include <R_ext/Applic.h> /* array.c says need for dgemm */ /* following copied from array.c */ static void matprod(double *x, int nrx, int ncx, double *y, int nry, int ncy, double *z)
2006 May 09
1
combn(n, k, ...) and all its re-inventions
It seems people are reinventing the wheel here: The goal is to generate all combinations of 1:n of size k. This (typically) results in a matrix of size k * choose(n,k) i.e. needs O(n ^ k) space, hence is only applicable to relatively small k. Then alternatives have been devised to generate the combinations "one by one", and I think I remember there has been a quiz/challenge about 20
2004 Aug 06
1
error 504 : server full :-(
Hi: Just a thought - this isn't a case of a specific mountpoint configuration over-riding the settings quoted here, is it? Perhpas try changing the name of the mountpoint. Geoff. <p> -- Geoff Shang <gshang@uq.net.au> ICQ number 43634701 Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint
2006 Dec 13
1
Passing arguments to panels in trellis plots
Dear all, I am trying to produce survfit plots in a trellis environment and I would like the plots to be logarithmic. I am trying this: print(Ecdf(~time | size*type, groups=alg,data=B,subscripts=TRUE, panel=function(x,groups,subscripts) { t <- survfit(Surv(time[subscripts],event[subscripts])~groups[subscripts],data=B)
2000 Dec 06
0
Locfit
Dear, I am doing some statistics analysis using R software. I am currently trying to implement your library locfit. I am using Win NT and R1.1.1 version obtained on the following Webmaster : http://cm.bell-labs.com/cm/ms/departments/sia/project/locfit/index.html When trying to run it, the following message appears: ********** Error in .C("guessnv", nvm = integer(1), ncm =
2008 May 13
11
Problems running the game GUN from Neversoft.
Hello! I have installed Wine 0.9.55 (pretty sure of that) on my Mandriva 2008. I tried to install the game GUN from Neversoft. (It works fine on windows Vista). On the distribution it says that it is compatible on Windows 2000 and XP. But when I try to install it it seems to work, but when I try to run it I get an error in a popup. Right now I'm at office and do not exactly remember the
2004 Jun 10
0
how to install centos 3.1 with sata support for sis 964
Hi, can anybody help me on this subject ? Perhpas somebody has a how to to create a new install cd with a working kernel image for this sata raid controller Best regards Niels SF-Design Int. Trade Department Uhlandstrasse 167 10719 Berlin Tel:0049-163-2587799 Fax:0049-30-88 91 77 25
2016 Dec 06
0
Spam messages
Perhpas amy needs help with her new package, R_spam,which is not working well with R_scam. ?? Em 6 de dez de 2016 11:16, <frederik at ofb.net> escreveu: Yes, I just heard from Amy Kristen who is "looking to meet new guys"... On Fri, Dec 02, 2016 at 11:31:56AM -0800, Kenny Bell wrote: > Have others received spam messages after posting to this list? > > The two problem
2005 Jul 19
3
new to Asterisk, is it possible to call two external lines and connect them using two channels
Hi All, I am just looking at using Asterisk now and the first thing I need to do is via pass two external numbers to asterisk and call out connecting the calls togther. These will be through our physical PBX connected to the asterisk server. We are essentially trying to connect two external numbers through asterisk with us incurring the cost of the calls. I've been reading on call out
2005 Jan 22
1
Wilcoxon test for mixed design (between-within subjects)
Hallo, is there any extension of the pairwise Wilcoxon test to a dependent samples layout with replicates (or, in other terms, a one-way layout with blocking and replicates)? The Wilcoxon method with matched pairs works for the case of dependent samples with one observation per block, while the Mann-Whitney test works for independent samples, thus one single block and replicated observations. Is