Displaying 8 results from an estimated 8 matches for "b_c".
Did you mean:
b_
2010 Oct 26
4
divide column in a dataframe based on a character
Hello,
If I have a dataframe:
example(data.frame)
zz<-c("aa_bb","bb_cc","cc_dd","dd_ee","ee_ff","ff_gg","gg_hh","ii_jj","jj_kk","kk_ll")
ddd <- cbind(dd, group = zz)
and I want to divide the column named group by the "_", how would I do this?
so instead of the first ro...
2000 Mar 06
2
anova-bug in R-version 1.0.0? (PR#470)
...annot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@biostat.ku.dk
#
######################################################
Under R version 0.6.51 the following
A_c(13,9,15,5,25,15,3,9,6,12)
B_c(42,24,41,19,27)
C_c(8,24,9,18,9,24,12,4)
D_c(9,12,7,18,2,18)
kaeufe_c(A,B,C,D)
region_factor(rep(1:4,c(10,5,8,6)),labels=LETTERS[1:4])
anova(lm(kaeufe~region))
delivers
Analysis of Variance Table
Response: kaeufe
Df Sum Sq Mean Sq F value Pr(>F)
region 3 1474.65 491.5...
2002 Sep 26
3
error with complex solve (PR#2068)
Full_Name: John Peters
Version: 1.5.1
OS: Windows 2000
Submission from: (NULL) (130.155.2.3)
solve(a,b) with two arguments gives an error if a is complex and b is a vector:
> a_matrix(c(1,2+3i,3,2),ncol=2)
> a
[,1] [,2]
[1,] 1+0i 3+0i
[2,] 2+3i 2+0i
> b_c(2,2+1i)
> solve(a,b)
Error in solve.default(a, b) : A must be a complex matrix
> is.complex(a)
[1] TRUE
> is.matrix(a)
[1] TRUE
> solve(a,diag(b))
[,1] [,2]
[1,] -0.1649485+0.3711340i 0.5257732-0.4329897i
[2,] 0.7216495-0.1237113i -0.1752577+...
2019 Jun 26
3
[nbdkit PATCH v2 0/2] adding nbdkit --run '$uri'
Since v1:
- new patch to add uri_quote()
- rebase on top of other recent patches needed while auditing shell_quote()
- use uri_quote() instead of shell_quote() for producing $uri
Eric Blake (2):
common/utils: Add uri_quote and tests
captive: Support $uri in --run
docs/nbdkit-captive.pod | 8 ++-
common/utils/utils.h | 1 +
common/utils/test-quotes.c | 108
1999 Nov 30
1
Character2function
If I have several character vectors, for example:
a_c('data.')
b_c('_myfunction(')
c_c('vect.')
d_c(')')
and, j_1
I can build a vector using paste:
x_paste(a,j,b,c,j,d,sep="")
x="data.1_myfunction(vect.1)"
I have n numeric vectors (vect.1...vect.n)
Then, if I could evaluate the string x, I would calculate the
result...
2016 Apr 28
2
Combinaciones sin repetición...con restricciones
...#-----------------------
>
> Ejemplo:
>
> > set_examp <- c('a','b','c','d')
> > my_choice(set_examp, 'a', 'b')
> [1] "a" "b" "a_b" "a_c" "a_d" "b_c" "b_d"
> "a_b_c"
> [9] "a_b_d" "a_c_d" "b_c_d" "a_b_c_d"
>
> La función calcula todas las combinaciones sin repetición posibles y
> extrae los elementos donde están presentes "cual_1" y "cual_2...
2001 Jan 17
3
Pattern Matching help
Thanks in advance for any help I can get on this.
I'm trying to change variable names between 2 systems - R and old SPSS,
Oracle. I'm using the grep() and gsub() commands but I'm getting the
following result -
> test.dat <- c("a", "b.c", "d.e.f", "p_q,r")
> test.dat
[1] "a" "b.c" "d.e.f"
2016 Apr 27
4
Combinaciones sin repetición...con restricciones
Hola, tengo que resolver un problema para el que normalmente utilizaría
excel, pero me gustaría intentar resolverlo con R. Se trata de lo siguiente:
Tengo tres elementos: a, b y c.
Dichos elementos están agrupados en siete objetos, producto de todas las
combinaciones sin repetición posibles:
Objeto 1: a
Objeto 2: b
Objeto 3: c
Objeto 4: a y b
Objeto 5: a y c
Objeto 6: b y c
Objeto 7: a, b y c