Displaying 17 results from an estimated 17 matches similar to: "factor or character"
2012 Jul 30
1
te( ) interactions and AIC model selection with GAM
Hello R users,
I'm working with a time-series of several years and to analyze it, I?m using
GAM smoothers from the package mgcv. I?m constructing models where
zooplankton biomass (bm) is the dependent variable and the continuous
explanatory variables are:
-time in Julian days (t), to creat a long-term linear trend
-Julian days of the year (t_year) to create an annual cycle
- Mean temperature
2008 Nov 30
2
how to select cases based on value of one or more variables
dear list,
I have read a spss file with read.spss()
now I have a list with all my variable stored as vectors.
is it possible to selec cases based on the value of one or more
variables?
thank you,
Simone
2010 Nov 15
1
Executing Command on Multiple R Objects
Hello Everyone -
I want to print a number of results from lme function objects out to a txt
file. How could I do this more efficiently than what you see here:
out2 <- capture.output(summary(mod2a))
out3 <- capture.output(summary(mod3))
out4 <- capture.output(summary(mod5))
out5 <- capture.output(summary(mod6))
out6 <- capture.output(summary(mod7))
2018 Mar 07
5
Más filtrado de variables
Buenas. A ver si a alguien se le ocurre cómo hacer este filtrado. Quiero seleccionar para cada GRUPO el numero de ORDEN más pequeño (que podría ser con wich.min(ORDEN)), pero sin que se repita la CLASE, de modo que si la CLASE-01 salió en el primer GRUPO ya no salga más.
GRUPO ORDEN CLASE A 1 CLASE-01 A 2 CLASE-02 A 5 CLASE-03 B
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
Hello,
I am building an Rails applications that has to integrate an legacy
system (lxoffice) (schema at:
http://www.lx-office.org/uploads/media/DB_Schema_2.1.1_R_393_17_03_2005_.pdf).
They somehow use global ids (global for some tables). I can not change
the schema and still I want to use Rails to access it and not pure SQL.
When I try to insert a record I get the following message:
2007 May 02
0
Selected value in a combobox
I''m using ActiveScaffold.
In the file house_helper.rb I have written the code:
def house_form_column(record, input_name)
...
list = House.find(:all, :include => ''city'')
new_list=...
...
list do |element|
if record = element.name
selec=element.id
end
end
select_tag ''X'',options_for_select(new_list, selected=selec),
2006 Apr 25
3
select boxe
yop,
http://rubyonrails.org/api/classes/ActionView/Helpers/FormHelper.html
ici j''ai vu qu''on pouvait g?n?rer des ?l?ment d''un formulaire gr?ce des
m?thodes. Apres quelque petite recherches j''ai trouv? comment g?n?rer un
select
<%= select(''category'', ''category.id'', Category.find_all.collect {|category|
category.nom})
2012 Apr 06
3
Outlook (2010) -> Dovecot (IMAP) >10x slower with high network load and many folders
Hi,
I am seeing a >10x as slow performance when trying to complete a
"send/receive" from an Outlook 2010 client to Dovecot via IMAP, but
only when the LAN is fully loaded with other traffic, EG file copying.
It seems the problem is when outlook is trying to identify folders
that have changed since last "send/receive" thus traversing the
hierachy.
Observations:
-
2010 Oct 08
6
Selección de observaciones
Hola a todos.
Estoy atascado en un sitio que no me he encontrado antes, debe ser fácil y
rápido, a ver si alguien me puede ayudar.
Puesto fácil, tengo:
> aa <- matrix(11:19,3,3)
> aa
[,1] [,2] [,3]
[1,] 11 14 17
[2,] 12 15 18
[3,] 13 16 19
Quiero la fila cuyo primer elemento es 12 y el segundo 15.
> aa[aa[,1:2] == (c(12,15)),]
Error: (subscript) logical
2010 Sep 08
4
coxph and ordinal variables?
Dear R-help members,
Apologies - I am posting on behalf of a colleague, who is a little puzzled
as STATA and R seem to be yielding different survival estimates for the same
dataset when treating a variable as ordinal. Ordered() is used to represent
an ordinal variable) I understand that R's coxph (by default) uses the Efron
approximation, whereas STATA uses (by default) the Breslow. but we
2009 Oct 08
0
glm pairwise interaction coefficients
I am trying to recreate the analysis of the recent Kirwan et al paper in
Ecology [9(80), 2032-2032]. The SAS code is available but am having
troubles getting the R equivalents.
The SAS code is:
*Model 5 - Species-specific interaction coefficients;
PROC GLM; where N=150;
MODEL YIELD=G1 G2 L1 L2 G1INT G2INT L1INT L2INT M / NOINT SOLUTION;
*calculate the pairwise interaction coefficients;
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as
list. Note that this isn''t a join.
i''m looking for something like this:
Table 1: Sheep
Name, Age, Farmer, etc. (sheep specific columns)
Table 2: Cows:
Name, Age, Farmer, etc. (cow specific columns)
For my display I nneed something like this:
Farmer Jone''s Livestock:
TYPE NAME AGE
Cow
2002 Dec 18
6
Can I build an array of regrssion model?
Hi,
I am trying to use piecewise linear regression to approximate a
nonlinear function. Actually, I don't know how many linear functions I
need, therefore, I want build an array of regression models to automate
the approximation job. Could you please give me any clue?
Attached is ongoing code:
rawData = scan("c:/zyang/mass/data/A01/1.PRN",
what=list(numeric(),numeric()));
len =
2014 Apr 28
2
[LLVMdev] How can I get rid of "OPFL_Chain" in myCPUGenInstrInfo.inc
guys,
1)i made a mistake in my post.
the said TF node was created when Selected() was called in ADDC node.
2) the source code under test
short a,b;
void test()
{
a+=b;
}
3)the DAG after ADDC was seleced:
Select node:
0x4977a20: ch,glue = <<Unknown Machine Node #65419>> 0x4972bd0, 0x49731d0,
0x4976c20, 0x49730d0<Mem:LD1[@a](align=2)>
Result node:
0x4977a20: ch,glue =
2004 May 20
1
mixed models for analyzing survey data with unequal selec tion probability
Han-Lin
I don't think I have seen a reply so I will suggest that maybe you could try
a different approach than what you are thinking about doing. I believe the
current best practice is to use the weights as a covariate in a regression
model - and bytheway - the weights are the inverse of the probabilities of
selection - not the probabilities.
Fundamentally, there is a difficulty in making
2014 Apr 26
2
[LLVMdev] How can I get rid of "OPFL_Chain" in myCPUGenInstrInfo.inc
hi Tim,guys,
it was regarding splitting 16-bit ADDC to two 8-bit ADDC+ADDE.
the 8-bit ADDE instruction is defined as:
let Constraints="$dst=$op0",mayStore=1,
hasSideEffects=0,neverHasSideEffects=1 in
def ADDErm: myInstr
<0x0,
(outs Intregs:$dst) (ins Intregs:$op0,MEMi:$op1),
"",
[set IntRegs:$dest (adde IntRegs:$op0, (load ADDRi:$op1))]
>
very unlucky, this
2011 Jan 14
1
Selecing the E1 cards for the call center
Hi All;
We would like to build a call center having 2 E1, but we would like to know which card to select:
Sangoma or Digium?
And card type to be PCI express or PCI 5.0V or PCI 3.3V ?
Any advise or special recommendations for the call center?
Regards
Bilal