Displaying 20 results from an estimated 41 matches for "variabels".
Did you mean:
variabel
2007 Oct 30
4
Postgresql and shell script
I have a shell script (sh) where I create a user and import data to a
postgres database
<snip>
su -c "createuser -A -D -P $PG_user" postgres
su -c "psql -d$PG_database -h localhost -U$PG_user -W -f postgresql.sql "
postgres
</snip>
when the script executes those command, it ask for a password, how could I
do this without have to enter the passwd, I would like that
2006 Feb 08
2
SV: GotoIf number exists in file. How can i do this?
Oh. So how can I do this?
If I write something in PHP, how do I make it output to an Asterisk variabel? I need to set a variable in asterisk to TRUE or FALSE based on the result of the PHP-script.
________________________________
Fra: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] P? vegne av Morgan Gilroy
Sendt: 8. februar 2006 15:28
Til:
2018 May 26
3
Grouping by 3 variable and renaming groups
ALCON
I'm trying to figure out how to rename groups in a data frame after groups
by selected variabels. I am using the dplyr library to group my data by 3
variables as follows
# group by lat (StoreX)/long (StoreY)
priceStore <- LapTopSales[,c(4,5,15,16)]
priceStore <- priceStore[complete.cases(priceStore), ] # keep only non NA
records
priceStore_Grps <- priceStore %>%
group_b...
2012 Feb 25
5
which is the fastest way to make data.frame out of a three-dimensional array?
foo <- rnorm(30*34*12)
dim(foo) <- c(30, 34, 12)
I want to make a data.frame out of this three-dimensional array. Each dimension will be a variabel (column) in the data.frame.
I know how this can be done in a very slow way using for loops, like this:
x <- rep(seq(from = 1, to = 30), 34)
y <- as.vector(sapply(1:34, function(x) {rep(x, 30)}))
month <- as.vector(sapply(1:12,
2018 May 26
0
Grouping by 3 variable and renaming groups
...oreID <- paste("Store",
seq_len(nrow(priceStore_Grps)), sep = "_")
Hope this helps,
Rui Barradas
On 5/26/2018 2:03 PM, Jeff Reichman wrote:
> ALCON
>
>
>
> I'm trying to figure out how to rename groups in a data frame after groups
> by selected variabels. I am using the dplyr library to group my data by 3
> variables as follows
>
>
>
> # group by lat (StoreX)/long (StoreY)
>
> priceStore <- LapTopSales[,c(4,5,15,16)]
>
> priceStore <- priceStore[complete.cases(priceStore), ] # keep only non NA
> records...
2006 Sep 27
1
equivalent of model.tables for an lm.object?
Dear all,
I run a linear model with three significant explanatory variabels
x1: a factor with 4 levels
x2 and x3: factors with two levels each
x4: continuous
model <- lm(y ~ x1 + x2 * x3 + x4)
<>
The data is not perfectly balanced between the different
factor-combinations and I use treatment contrasts.
<>
With an aov.object, I assume I could have used mode...
2006 Jan 31
1
dialing 2 channels at thesametimewithdifferentcaller ID number?
>
> Yes you must prefix a variabel with __ that's (2) _ underscores so
that
> it cross channels.
>
Aah, the magic formula - documented where? :)
Thanks a million, have a great day.
Damon
2006 Jan 31
1
dialing 2 channels atthesametimewithdifferentcaller ID number?
> -----Original Message-----
> From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-
> bounces@lists.digium.com] On Behalf Of Damon Estep
> Sent: Tuesday, January 31, 2006 8:09 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] dialing 2 channels
> atthesametimewithdifferentcaller ID number?
>
> >
>
2003 Mar 12
1
Windows 2000 Pro can't join the Samba PDC
Hi all
At first i'm using wizard in swat page to create samba
as a pdc for my win 2000 pro client, and i follow the
instruction in howto-collection.pdf. The doc file say
that there are 2 ways of client join the domain.
1. "manually" add the trust machine account in the pdc
2. "on the fly" with adding command 'useradd' in the
global parameter 'add user
2011 Mar 31
1
Cluster analysis, factor variables, large data set
Dear R helpers,
I have a large data set with 36 variables and about 50.000 cases. The
variabels represent labour market status during 36 months, there are 8
different variable values (e.g. Full-time Employment, Student,...)
Only cases with at least one change in labour market status is
included in the data set.
To analyse sub sets of the data, I have used daisy in the
cluster-package to cre...
2010 May 04
1
Extract rows with non-zero elements
Dear all,
In my dataset I have 12 columns and 5824 rows. The second column contains
information about the height of a claim: it might be zero or positive. I
would like to do an analysis on the positive part of this matrix, but I do
need the other colums with this. So if there are like 1000 rows where the
second column is positive, I would like to extract this 1000x13 matrix into
another matrix.
2008 Feb 19
3
simple usage of "for"
Hi list
I have a data frame I would like to loop over. To begin with I would
like crosstabulations using the first variabel in the data frame,
which is called "meriter".
> table(meriter[[1]], meriter[[3]])
ja nej
Annan 0
2012 Sep 18
1
Lowest AIC after stepAIC can be lowered by manual reduction of variables
...did something completely wrong... if this is the case: sorry...
I try to get the best GLM model (with the lowest AIC) for my dataset.
Therefore I run a stepAIC (in the "MASS" package) for my GLM allowing only two-variable-interactions.
For the output (summary) I got a model with 7 (of 8) variabels and 5 interactions and AIC=40.008
BUT: When I take this model and reduce stepwise further variables manually (starting with the one with the highest p-values and first reducing all interactions of a variable before i reduce the variable itself) until i can't reduce more variables since all (or...
2009 Jan 05
1
can't get names of R_env
Hi,
I'm quite knew in R, so I might not have the R specific jargon.
But here is my problem,
I'm trying to access and use variabels given by a function environment,
more specifically the rho in do_optim in src/main/optim.c
According to the documentation
http://cran.r-project.org/doc/manuals/R-ints.html#The-_0027data_0027
the envsxp is defined as a tagged pairlist.
"ENVSXP: Pointers to the frame, enclosing environment and...
2000 Sep 20
1
SV: sample from contingency table
I have had the same problem and I wrote this function
rmulti <- function(n, size, p)
{
NrDim <- length(p)
if(NrDim<2) stop("The simulated variabel has to be at least
2-dimensional")
res <- matrix(data=NA, nrow=n, ncol=NrDim)
p <- p/sum(p)
TempSize <- size
for(i in 1:NrDim)
{
TempP <- p[i]/sum(p[i:NrDim])
TempBin <- rbinom(n=n, size=TempSize,
2018 May 26
1
Grouping by 3 variable and renaming groups
...eStore_Grps)), sep = "_")
>
>
> Hope this helps,
>
> Rui Barradas
>
> On 5/26/2018 2:03 PM, Jeff Reichman wrote:
>> ALCON
>>
>>
>> I'm trying to figure out how to rename groups in a data frame after
>> groups
>> by selected variabels.? I am using the dplyr library to group my data
>> by 3
>> variables as follows
>>
>>
>> # group by lat (StoreX)/long (StoreY)
>>
>> priceStore <- LapTopSales[,c(4,5,15,16)]
>>
>> priceStore <- priceStore[complete.cases(priceStore), ]? #...
2012 Mar 07
1
SELECT CASE in RODBC
Hi all,
I have a problem with a variable created by a SELECT CASE statement. See
the code below.
I would like the variable "event" to be a character variabel as I want to
UNION my two SELECTs - and the "event"-variable is a character variable in
the first SELECT result.
I have tried different ways:
* used ' ' in stead of " " around the string I want as the
2009 Oct 22
1
Automatization of non-linear regression
...in a function such as para0.st <- c(alpha=2.212, ...), is it just stored locally, or can it be used globally, I mean, can I use the variable anywhere (for instance in curve()) or just in the function where it was created? I'm asking because I'm used to Java, where the life time of local variabels only extends to the closing braces, while global variables can be reached everywhere.
The reason for automatization is that I'll have to repeat the procedure more than a hundred times, while making overview pair waise plots of my data, with both this logaritmic regression and several others...
2009 Jul 08
3
Suggestion: Dimension-sensitive attributes
Hi,
I agree with Henrik that his suggestion to have "dimension vector attributes" working like dimnames (see below) would be an extremely useful infrastructure adittion to R.
If this is not considered for R-core, I am happy to try to implement this in a package, as a new class. And possibly do the same thing for data frames. Should you have any comments, ideas or suggestions about it,
2023 Dec 18
3
Function with large nested list
Hello list,
I want to make a large rulebased algorithm, to provide decision support for drug prescriptions. I have defined the algorithm in a function, with a for loop and many if statements. The structure should be as follows:
1. Iterate over a list of drug names. For each drug:
2. Get some drug related data (external dataset). Row of a dataframe.
3. Check if adaptions should be made to