similar to: Query Mixin by Duane Johnson

Displaying 20 results from an estimated 1000 matches similar to: "Query Mixin by Duane Johnson"

2003 Dec 11
1
Using \leq for <= in Rd files
Hi, When writing formulae in Rd files I use \leq to get a less-than-or-equal-to sign, as this is what the LaTeX references I consulted suggested. This works correctly for the PDF output (Rcmd Rd2dvi.sh --pdf), however when the Rd file is converted to text or html this command is converted to "<=q". A workaround is to use \le instead of \leq which works with my LaTeX distribution
2004 Apr 30
1
Exact Binomial test feature or bug?
Dear R Users, Is the p-value reported in a two-tailed binomial exact test in error or is it a feature? If it is a feature, could someone provide a reference for its two-tailed p-value computations? Using Blaker's (2000 - Canad. J. Statist 28: 783-798) approach,the p-value is the minimum of the two-tailed probabilities $P \left(Y\geq y_{obs}\right)$ and $P\left(Y\leq y_{obs}\right)$
2009 Feb 18
2
[LLVMdev] Parametric polymorphism
> I think the problem is deeper than that, in that LLVM has no official > concept of a subtype, so I don't see how the idea of polymorphism > could be defined in it. Parametric polymorphism is different from subtype polymorphism; you can have one without the other. Parametric polymorphism just means that you can use type variables (like T) in the IR, which are later instantiated to
2006 Feb 01
7
Explanation of "alias_method"
Hi! I''m trying to extend ActiveRecord''s find method (Rails 1.0, Ruby 1.8.2), but I recognize a strange behaviour of the "alias_method" call. I wrote a very simple script to explain my problem: ------------------------------------------------------ module ActiveRecordExtension def self.included(base) base.extend(ClassMethods) base.class_eval do
2007 Nov 06
1
Integrating a function
Hello everybody! I have problems with integrating my function. My primary function is a “survival function” of the following type: surviv <- exp(-k*x)/(1+exp(alpha*(x-tau))) I would like to integrate this function over a defined range and obtain a vector with all the values from integrate(surviv, 0, x) for x <- 1:N. I unfortunately obtain just a scalar value corresponding to the last
2010 Jan 21
1
Double inequality with plotmath
Hello, I'm fairly new to R and I can't work out how to produce a double inequality like (LaTeX) $0 \leq x \leq 1$ in the legend of a graph. If I try > legend(50, 0.1, legend = c(expression(0 <= x <= 1), c(2 <= x <= 3)), pch = c(1,1), col = c(2, 3)) then I get an error message "unexpected '<=' in ...". I've checked the help files for plotmath and
2003 Nov 19
2
Was: setValidity and "initialize" method conflict ? [in R-help]
Hello, Thomas Stabla (statho3@web.de) has already sent this question to R-help, Wed, 12 Nov 2003 21:21:31 +0100, but we are not sure whether we should better post this mail to this audience than to R-help: --------------------------------------------------------------------- We are using S4-classes and want to force a validity check when an object is created. How can this be done, when an
2012 May 23
1
numerical integration
Greetings, Sorry, the last message was sent by mistake! Here it is again: I encounter a strange problem computing some numerical integrals on [0,oo). Define $$ M_j(x)=exp(-jax) $$ where $a=0.08$. We want to compute the $L^2([0,\infty))$-inner products $$ A_{ij}:=(M_i,M_j)=\int_0^\infty M_i(x)M_j(x)dx $$ Analytically we have $$ A_{ij}=1/(a(i+j)). $$ In the code below we compute the matrix
2007 Nov 25
2
[LLVMdev] Fibonacci example in OCaml
Here's my translation of the Fibonacci example into OCaml: open Printf open Llvm let build_fib m = let fibf = define_function "fib" (function_type i32_type [| i32_type |]) m in let bb = builder_at_end (entry_block fibf) in let one = const_int i32_type 1 and two = const_int i32_type 2 in let argx = param fibf 0 in set_value_name "AnArg" argx; let
2003 Sep 27
2
does isGeneric work differently in 1.8.0 ?
Hello, the last command (isGeneric) in following R-code (attached) produces different output, depending on wheter 1.8.0 alpha or 1.7.1 is used. Is that to be expected ? Both R Versions were started with option vanilla --------------------------------------------------- R.1.7.1: --------------------------------------------------- > version _ platform i686-pc-linux-gnu arch i686
2012 Nov 21
1
dúvidas com matriz de correlação e covariancia
Bom dia eu chamo-me Ana, estou a tentar fazer matriz de correla??o e covariancia para comparar 4 variaveis e saber quais s?o as mehores... fiz o segundo codigo mas devo tar a fazer alguma confus?o para nao me aparecer o output correcto: cor(dados[,2:5],method=c("pearson")) cor_with_p_test(dados[2:5]) ct <- cor.test(dados[,2:5]) ct$p ct$v #matriz de covariancias cov(dados[,2:5],
2012 May 23
2
Special characters in an R package manual
Dear all, I have some trouble with special characters while building my R package. I tried to follow the usual LATEX format, but could not fix the problem: For instance, for "greater than or equal", I tried "\geq", but R says that this is an unknown macro. Could anyone direct me how to solve this issue? Best Ozgur ----- ************************************ Ozgur ASAR
2008 Mar 10
3
creating Windows guest VM without display
I''m happy I''ve succeeded in creating Windows 2003 server guest VM on a xen machine. (if anybody interested in how to, refer to Xen Technical Note V07132006) My further question is: is there a way I can assign a null video device to Windows VM? I want win server keep working, but not its display (implemented on gnome) on console monitor all the time. Joon Woo
2004 Dec 09
3
surf.ls
Hello, I am looking into description of surf.ls(spatial) and see under value $beta - the coefficients. When I use polynomial of degree 2 to fit surface I expect to get 4 coefficients: z = a_1 x^2 + a_2 xy + a_3 y^2 + a_4 What do beta really stand for and why do I get $beta vector of length 6? Thakns, Mark
2006 Jan 31
4
A dumb question on extracting a value from a hash
Hi, I have the following code fragment; @comm_type = Communication.find_by_sql(''select id from communication_types where upper(description) = "EMAIL"'') Which results in >> @comm_type => [#<Communication:0x39a0f60 @attributes={"id"=>"4"}>] But when I try to test an ActiveREcord against this it doesn''t work;
2006 Jan 10
5
problems overriding module with plugin
Hi I am trying to create a plug-in to fix the error in the rails core produced by the multiple delete on a HABTM relationship. I have confirmed that my plug-in is being included into the base during runtime however the code does not seem to be overridding the base class. module ActiveRecord module Associations module ClassMethods def has_and_belongs_to_many(association_id, options =
2005 Apr 08
2
error on install Rmpi packages
Dear Sir/Madam, I need to install Rmpi Package on my linux debian like, but I get some errors. I try to instal it using install.packages or after download and save it on my local dir and run R CMD INSTALL packagename and, both, I get these errors: checking mpi.h usability... no checking mpi.h presence... no checking for mpi.h... no Try to find mpi.h ... Cannot find mpi header file. Please
2006 Feb 24
6
[JOB] at yakimaherald.com
Friends- I have taken a new job and will be moving at the end of March. The newspaper I currently work for is looking for someone to take my place. I have really enjoyed working here. It is a great environment with very nice people to work with. And the best part is you get to develop in Ruby and Rails, for everything! The paper is willing to accept applications from people who would
2006 Feb 15
10
STI Question
Hi everyone, I have 3 types of people (for now): Staff Faculty Students To break them up into classes, but keep them in the same People table, I''ve broken them up like so (code and ''ends'' snipped): class Person < ActiveRecord::Base class Employee < Person class Staff < Employee class Faculty < Employee class Student < Employee So, when I insert
2006 Feb 27
3
Send parameter along with method in before_filter
Hello list, I have an app that has a very simple authorization scheme. A person can have many roles and roles can have many people. In my app, I''d like to do before_filter :login_required (since no role name is provided, it accepts any users with credentials) before_filter :login_required ("administrator") (only accepts those with role administrator) before_filter