Displaying 20 results from an estimated 20 matches for "myvariables".
Did you mean:
myvariable
2013 Feb 01
3
Loading a list into the environment
R-helpers:
Say I have a list:
myvariables <- list(a=1:10,b=20)
Is there a way to load the list components into the environment as
variables based on the component names? i.e. by applying this theoretical
function to myvariables I would have the variables a and b loaded into the
environment without having to explicitly define them.
--...
2005 Aug 17
2
About R variable references
Hello Group,
I could use an advice on how SEXP handles work. My aim is to implement a
system where I initially set a few global variables that are used for
communication between C and R code. Then I do some work with R code and
periodically call a function of my own that will update the system
state. Such a design is useful for many purposes (for GUIs to name one).
I am not entirely sure that R
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question....
Does the prototype object add some way for a class to find out the
variable name of its instance variable?
Or does javascript have some built in way to do this?
This is confusing to describe - but if I define a variable as some
object:
var myVariable= new Widget(''fdfa'');
can some built-in method inside the Widget class be
2008 Jul 14
1
Function to create variables with prefix
...tion would take a data.frame, an array of variables, and a prefix
string. It performs a transformation on the variables (e.g. logs and
scales), and creates new variables with the same names as the inputs, but
with the prefix_string prepended.
So, a sample call would look like:
myfunction(mydata, myvariables, "norm_")
And if myvariables contained variables named "var1", "var2", etc., the
function would generate:
mydata$norm_var1
mydata$norm_var2
Thanks,
Moira
[[alternative HTML version deleted]]
2009 Jul 09
1
Strange t-test error: "grouping factor must have exactly 2 levels" while it does...
Hi,
Could anyone tell me what is wrong:
> length(unique(mydata$myvariable))
[1] 2
>
and in t-test:
(...)
Error in t.test.formula(othervariable ~ myvariable, mydata) :
grouping factor must have exactly 2 levels
>
I re-checked the code and still don't get what is wrong.
Moreover, there is some strange behavior:
/1 It seems that the error is vulnerable to NA'a, because it
2012 Oct 18
1
legend of maps generated by function symbols
I generated maps with the function symbols (graphics). These are basic
maps generated with :
symbols(x,y,circles=myvariable)
where x et y are spatial coordinates corresponding to replicates of
"myvariable".
I would associate legend to this kind of maps, is it possible?
Regards,
Marion.
--
Marion Jacquot
Laboratoire de Chrono-environnement
UMR UFC/CNRS 6249 USC INRA
Universit? de
2010 May 13
2
Help with reading information of "summary"-Object
Hi,
I am quite new to R - but quite expierience in programming. Nonetheless
I have some problemes in accessing information of the "summary" object.
Here is what I do:
model <- lm ( y ~ myVariable )
"summary(model)" gives me an object which has a lot of information about
the regression. Now I'd like to access programmatically the level of
significance which is
2009 Oct 28
3
variable labels to accompany data.frame
Often it is useful to keep a "codebook" to document the contents of a dataset. (By "dataset" I mean
a rectangular structure such as a dataframe.)
The codebook has as many rows as the dataset has columns (variables, fields). The columns (fields)
of the codebook may include:
? variable name
? type (character, factor, integer, etc)
? variable label
2007 May 09
3
select menu
Hello everybody.
I want to make a menu with the incoming calls, I want that when someone calls the Asterisk play a record (in gsm) and them the caller must choose a option (1,2 or 3).
if he choose 1 it will redirect to 101 extension
if he choose 2 it will redirect to 102 extension
if he choose 3 it will redirect to 103 extension
my extensions.conf is this one:
[default]
exten =>
2002 Nov 04
3
New to wine question concerning Path Variable
Howdy,
I am trying to run a Cobol Compiler through wine. I am running RH7.3 with a
current wine release. My directory structure is /usr/share/wine-c/COBOL/. I
have been successful in running other applications through wine, but not
ones that require a PATH= entry.
My problem is: it's looking for an entry in the PATH environment variable
that includes 'C:\COBOL' which stores
2011 Jul 30
3
Problem with effects package
Dear List,
Several times I use this package I get the error message shown below.
When I work out simple examples, it turns out to be fine, but when
working with real and moderate size data sets I always get the same
error.
Do you know what could be the cause of the problem?
Error in apply(mod.matrix[, components], 1, prod) :
subscript out of bounds
Error in
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
On Mon, Apr 25, 2016 at 11:11 AM, Olivier <oza.4h07 at gmail.com> wrote:
>
>
>
> 2016-04-25 18:14 GMT+02:00 George Joseph <gjoseph at digium.com>:
>
>>
>>
>> On Mon, Apr 25, 2016 at 10:00 AM, George Joseph <gjoseph at digium.com>
>> wrote:
>>
>>>
>>>
>>> On Mon, Apr 25, 2016 at 9:29 AM, Olivier <oza.4h07
2007 Nov 14
4
Problem with AGI Script
I have asterisk 1.2.18 running on a new system we just installed. Although
I've used AGIs many times in the past, I'm stumped on this one. It may just
be a simple issue that I need another eyeset to look at.
My AGI does the following:
#!/usr/bin/perl
#Load a few modules...
use Asterisk::AGI;
use DBI;
$AGI = new Asterisk::AGI;
#Grab input from Asterisk
my %input =
2011 Feb 11
2
tzone and DST
I'm reading in ~3 years worth of data that includes hourly timestamps.
Presumably to avoid DST confusion, all the data is in PST time zone -- no
discontinuities in the spring or fall.
The data comes in a csv file, which I'm reading with
myvariable <- read.csv("my_data_file.csv",header=FALSE,
2004 Nov 26
1
Coplot Given text
Greetings:
I am unsuccessful in suppressing "Given : myvariable" from a coplot. There was such a question in the past but the thread breaks down. I am sure this is a "for dummies" question :-). I tried:
coplot(myvar~myvar | myvar, show.given=FALSE, xlab="....", ylab="...", main=" ")
and some other variations (including without main=" ")
2012 Dec 01
1
setvar from chan_dahdi.conf
Would someone be able to give an example of a working use of setvar from chan_dahdi.conf? I am trying to create a custom variable like I use in sip.conf but I have been completely unsuccessful getting any variable set using setvar to appear for a DAHDI
channel. I am running 1.8.11-cert8 and am using the newer format (but I have tried using the older [channels] format). Here is an example:
2006 Apr 18
0
RE: innerHTML and scripts not running and evalScriptsin IE
>>Someone suggested using document.write to write a new script element. I
>>don''t see how this helps because I am not aware of any way to write to a
>>completed page without overwriting the page. This appears to me to be
>>simply a page reload.
Wonder why you remember Martin''s name and not mine..lol /joke
Why don''t you start with a simple
2005 Dec 27
6
avoid multiple render per action
Hello,
I have a hash that contains categories, and each category ID is a
hash of subcategories. What i want to do is dynamically load that
hash, loop thru it, for each category , subcat run a query against the
DB, and render a partial. The issue is i put the render:partial in a
for loop but you can only render once per action. What is the best
way to loop thru all my categories without a
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
On Mon, Apr 25, 2016 at 10:00 AM, George Joseph <gjoseph at digium.com> wrote:
>
>
> On Mon, Apr 25, 2016 at 9:29 AM, Olivier <oza.4h07 at gmail.com> wrote:
>
>> Hello,
>>
>> I've just discovered PJSIP 's support of set_var setting in pjsip.conf.
>> Is this setting also supported in pjsip_wizard.conf ?
>> On a fresh 13.8.2, it
2013 Feb 11
1
Simple frequencies using svy design
Hello,
excuse me if this is trivial. I have some survey data with the following
design
MyDesign<-(id=ident, weights=~fwgt, fcp=~nval1+nval2, data=hh_data1)
I would like to run simple frequency tables such as those provided by the
freq() function of rgrs to check the impact of the sampling design on my
Ns. Anyway I can do this? thanks, V
[[alternative HTML version deleted]]