search for: andrija

Displaying 20 results from an estimated 66 matches for "andrija".

2019 Mar 07
0
Network Bridge - error
Hi Andrija, Got the same error message, but different details. systemctl status network.service https://pastebin.com/NjtXUwci journalctl -xe https://pastebin.com/Kn0Dggmm My network settings: https://pastebin.com/JDGJJYVc On Wed, Mar 6, 2019 at 4:57 PM Andrija Panic <andrija.panic at shapeblue.com&gt...
2010 Dec 10
3
(no subject)
...8 1 7 1 6 2 25 2 24 2 23 2 22 2 21 I first oreded the data frame using c=c[with(c,order(X1,-X2)),] but I need a help to select highes five. It is easy to select when I have just 2 unique values of X1 but what is if I have 500 unique values in X1? Thanks Andrija [[alternative HTML version deleted]]
2013 Mar 20
3
highlight overlapping region of two densities
...=2) So, I am trying to highlight the region from 1 to 4, on x axis, taking the minimum value of corresponding y values. I am aware of polygon function but don't know how to define correctly x and y coordinate vectors for this function. Could someone help me to solve this? Thank in advance. Andrija [[alternative HTML version deleted]]
2011 Mar 14
2
data.frame transformation
...0 with . (dot) in order to obtain this: q1 q2 q3 q4 1 . . check . 2 . 33.33 check 35 3 33.33 check 25 100 4 check . 100 check I had a lot of difficulties because each variable is factor. Could someone help me with this? Thanks in advance for any help. Andrija [[alternative HTML version deleted]]
2011 Dec 04
3
RODBC connect to Excel (64-bit Windows 7)
...[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application 2: In odbcDriverConnect() : ODBC connection failed Could someone guide me what should I try next to fix a problem? Is this some problem with Drivers or not? Thanks in advance Andrija [[alternative HTML version deleted]]
2011 Mar 16
2
export list to csv
...aa","bb","cc") rownames(l[[2]])<-c("aa","bb") Every object has the same number of columns but different number of rows. Does anyone know if it is possible to export such kind of list, into one csv file, and keeping all the names? Thanks in advance Andrija [[alternative HTML version deleted]]
2010 Dec 11
2
package sampling
...; must be atomic for 'sort.list' Have you called 'sort' on a list? In previous version of R 2.9.1 and previous version of package sampling this code worked well and now I don't know what is a problem? Any ideas how to solve this problem will be very useful? Thanks in advance Andrija [[alternative HTML version deleted]]
2011 Aug 10
1
subqueries in sqlQuery function (package RODBC)
...rect syntax for this query: SELECT ct,COUNT(*) as n FROM (SELECT COUNT(*) AS ct FROM children GROUP BY family_id) AS x GROUP BY ct; sqlQuery(connecton, " CORRECT SYNTAX ") (This query is an example from book Data Manipulation with R, Phil Spector, page 47) Thanks for any help Andrija [[alternative HTML version deleted]]
2010 Dec 19
1
package survey
...id=~1, weights=~weights, data=a) srs1<-svydesign(id=~1, weights=~weights,fpc=~fpc, data=a) svytotal(~uk,srs) total SE uk 41 9 svytotal(~uk,srs1) total SE uk 41 8.4334 and does anyone know if it is possible to find the codes for functions in survey package? thanks in advance Andrija [[alternative HTML version deleted]]
2011 Dec 08
1
sum of deviations from the weighted mean
...x <- 6:10 > wm <- weighted.mean(x,wt) > (x-wm)*wt [1] -18.70 -21.75 4.94 24.86 10.65 > sum((x-wm)*wt) [1] -1.24345e-14 With simple mean I got 0: > sum(x-mean(x)) [1] 0 Could someone explain me why we didn't get 0, with weighted mean, as it is expected? Thanks in advance Andrija [[alternative HTML version deleted]]
2013 Apr 02
2
speedometer charts in R
Hi useRs. Does anybody know if there is some function that creates speedometer chart in R? Or if anybody has proposals where to start looking and which functions I can modify in order to create this kind of chart? Thanks for any help Andrija [[alternative HTML version deleted]]
2011 Apr 12
2
Converting a categorical variable to multiple dichotemous variables
I have a categorical variable in a dataframe similar to the following... cat 1 1 3 2 4 I need to convert it to 4 dichotemous variables for each observations like... cat1 cat2 cat3 cat4 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 Thanks in advance! Shane
2011 Jan 25
1
NA replacing
...tapply(na.exclude(df)$y,na.exclude(df)$strata,sum)[2]* * 8 */tapply(na.exclude(df)$x,na.exclude(df)$strata,sum)[2] where 8 is the value of x(id=8) in strata 2 where y=NA. So, I would like to replace NA inside the stratas on above explained way. Does anyone know how to do this? thanks in advance Andrija [[alternative HTML version deleted]]
2012 Apr 14
1
Error: R for Windows GUI front-end has stopped working
...glish_United States.1252 [2] LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] plyr_1.7.1 Andrija
2023 Jan 31
0
New package - LGDtoolkit
...t of risk differentiation function and collateral haircut modeling). To check out the current package functionalities run install.packages("LGDtoolkit") and help(package = "LGDtoolkit"). To stay up to date with new development features follow the github page: https://github.com/andrija-djurovic/LGDtoolkit. I hope some of you will find the package useful. Kind regards, Andrija [[alternative HTML version deleted]]
2023 Jan 31
0
New package - LGDtoolkit
...t of risk differentiation function and collateral haircut modeling). To check out the current package functionalities run install.packages("LGDtoolkit") and help(package = "LGDtoolkit"). To stay up to date with new development features follow the github page: https://github.com/andrija-djurovic/LGDtoolkit. I hope some of you will find the package useful. Kind regards, Andrija [[alternative HTML version deleted]]
2010 Dec 12
1
list manipulation
...- runif(5)-, to the first object in order to obtain something like this: > c1 $`1` x11 x22 random 1 1 1 0.5624256 2 1 2 0.6752097 3 1 3 0.1005275 4 1 4 0.3325556 5 1 5 0.7650282 $`2` x11 x22 6 2 6 7 2 7 8 2 8 9 2 9 10 2 10 11 2 11 thanks in advance for help. Regards Andrija [[alternative HTML version deleted]]
2011 Sep 08
3
generate randomly a value of a vector
Hi everyone, I have a zero vector of length N and I would like to randomly allocate the value 1 to one of the values of this vector. I presume I have to use the uniform distribution but could someone tell me how I should process? Thanks in advance, Boris -- View this message in context: http://r.789695.n4.nabble.com/generate-randomly-a-value-of-a-vector-tp3798190p3798190.html Sent from the R
2012 Apr 03
5
R equivalent for SQL query
Hi, I have a query which I would like to translate into R, but I do not know how to do it in an easy way. Assume a data frame has columns A, B and C: A B C 1 1 3 1 1 4 1 1 5 1 2 6 1 2 7 1 3 8 The query is as follows: select A, B, count(*) from data.frame group by A, B order by count(*) desc How do I translate this into R statements in such way that the result is a data frame structured as
2012 Jul 11
3
Subset based on multiple values
I'm stuck on a seemingly simple problem. I'm trying to subset the data by several numbers and it cuts out half of the rows. Here is the sample code: test <- as.matrix(c(1,1,1,1,3,3,7,7,7,7)) Count <- tapply(test[,1], test[,1], length) # count for each value spp <- unique(test[,1]) Count1 <- as.data.frame(cbind(Count,spp)) Max <- max(Count) Count1$sppMax <-