search for: vektor

Displaying 20 results from an estimated 25 matches for "vektor".

Did you mean: vector
2009 Oct 28
2
read.table but more tables at once
Dear all, I have a lot of data files (.txt) that I want to read in all at once, if possible. the files have names in time system. for example: RA940101, RA940102, RA940103, RA940104 an so on. (meaning: RA, year:91, month: here january, day of the month.) I tried something like vektor <- c("RA940101","RA940102","RA940103") for (x in 1:3) { data <- read.table(paste(vektor[x],sep=""),header=F) } But how can I put the vektor on the left side, so that data would be instead of data the three first days of the year 1994? best wishes and...
2009 Apr 06
1
Comparing 2 slopes of 2 regression lines
Hello everyone, I would like to test two regression slopes:do they differ significantly?The data and commands I've used so far: x<-8.5:32.5 #Vektor x y<-c( NA , NA , 5.67 , 6.53 , 6.83, 7.41 , 7.93 , 8.5 , 8.86, 9.46 , 9.82 , 10 ,10.35 , 10.7 ,11.03 ,11.37 ,11.61 ,11.84, 12.12, 12.39 ,12.67 ,12.96, 13.28 ,13.47, 13.65) #Vektor y (regression<-lm(y~x)) summary(regression) Regression model 1 x<-8.5:32.5 #Vektor x y<-c(...
2009 Apr 28
2
correlation coefficient
Hello, I would like to get a correlation coefficient (R-squared) for my model. I don't know how to calculate it in R. What I've done so far: x<-8.5:32.5 #Vektor x y<-c(NA ,5.88 , 6.95 , 7.2 , 7.66 , 8.02 , 8.44 , 9.06, 9.65, 10.22 , 10.63 ,11.06, 11.37, 11.91 ,12.28, 12.69 ,13.07 , 13.5 , 13.3 ,14.14 , NA , NA , NA , NA , NA) #Vektor y plot(y~x,col="green",pch=16,ylim=c(0,20),xlim=c(0,50)) (mod1<-nls(y~a+b*log(x,base=exp(1)),st...
2020 Sep 08
4
Operations with long altrep vectors cause segfaults on Windows
...en k?nnen. > Tippen Sie 'demo()' f?r einige Demos, 'help()' f?r on-line Hilfe, oder > 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. > Tippen Sie 'q()', um R zu verlassen. >> x <- (-2e9:2e9) + 1L > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >> y <- c(0L, -2e9:2e9) > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >> Sys.setenv(LANGUAGE="en") >> y <- c(0L, -2e9:2e9) > Error: cannot allocate vector of size 14.9 Gb >> y <- -...
2020 Sep 08
2
Operations with long altrep vectors cause segfaults on Windows
I can only reproduce on Windows, but reliably (both 4.0.0 and 4.0.2): $> R --vanilla x <- c(0L, -2e9:2e9) # > Segmentation fault Tried to reproduce on Linux but the above worked as expected. Not an issue merely with the length of the vector; for example, x <- rep_len(1:10, 1e10) works, though the altrep vector must be long to reproduce: x <- c(0L, -1e9:1e9) #ok Segmentation
2020 Sep 08
2
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...o()' f?r einige Demos, 'help()' f?r on-line Hilfe, oder >> > 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. >> > Tippen Sie 'q()', um R zu verlassen. >> >> >> x <- (-2e9:2e9) + 1L >> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >> >> y <- c(0L, -2e9:2e9) >> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >> >> Sys.setenv(LANGUAGE="en") >> >> y <- c(0L, -2e9:2e9) >> > Error: cannot allocate vecto...
2009 Apr 16
1
Problem with a defined function which cannot access a function defined outside of the function
...is must be a problem with hidden parameters. a workaround works when i just define all parameters instead of using the function itself. now the problem is that i want to integrate the function and i'm not sure how to do it with this workaround since i have a plot of the function and a big vektor with all points of the plot on the x-axis only. Any help? Thanks -- View this message in context: http://www.nabble.com/Problem-with-a-defined-function-which-cannot-access-a-function-defined-outside-of-the-function-tp23071568p23071568.html Sent from the R help mailing list archive at Nabble....
2008 Jan 15
1
Anova for stratified Cox regression
...id. Df Resid. Dev P(>|Chi|) > NULL 929 5233.5 > strata(sex) 0 929 > rx 2 927 5221.2 > Warning message: > In is.na(coef(fit)) : > is.na() auf nicht-(Liste oder Vektor) des Typs 'NULL' angewendet It should be possible to do Chi-Square-Tests in a stratified analysis, right? Best wishes, Matthias
2020 Sep 08
1
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...f?r einige Demos, 'help()' f?r on-line Hilfe, oder >> > 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. >> > Tippen Sie 'q()', um R zu verlassen. >> >> >> x <- (-2e9:2e9) + 1L >> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >> >> y <- c(0L, -2e9:2e9) >> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >> >> Sys.setenv(LANGUAGE="en") >> >> y <- c(0L, -2e9:2e9) >> > Error: cannot allocate...
2011 Mar 10
1
ANOVA for stratified cox regression
...*>>* NULL 929 5233.5 *>>* strata(sex) 0 929 *>>* rx 2 927 5221.2 *>>* Warning message:*>>* In is.na(coef(fit)) :*>>* is.na() auf nicht-(Liste oder Vektor) des Typs 'NULL' angewendet*>>* *>**>* It should be possible to do Chi-Square-Tests in a stratified analysis, *>* right?* We have run into the same problem. In particular, we are running stratified coxph models, but we are not able to generate a Chisq probability for b...
2020 Sep 08
0
Operations with long altrep vectors cause segfaults on Windows
...der R packages in Publikationen zitiert werden k?nnen. Tippen Sie 'demo()' f?r einige Demos, 'help()' f?r on-line Hilfe, oder 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. Tippen Sie 'q()', um R zu verlassen. > x <- (-2e9:2e9) + 1L Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > y <- c(0L, -2e9:2e9) Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > Sys.setenv(LANGUAGE="en") > y <- c(0L, -2e9:2e9) Error: cannot allocate vector of size 14.9 Gb > y <- -1e9:4e9 > .Internal(inspect(y)) @0x00000000195a...
2020 Sep 08
0
Operations with long altrep vectors cause segfaults on Windows
...pen Sie 'demo()' f?r einige Demos, 'help()' f?r on-line Hilfe, oder > > 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. > > Tippen Sie 'q()', um R zu verlassen. > > >> x <- (-2e9:2e9) + 1L > > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > >> y <- c(0L, -2e9:2e9) > > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > >> Sys.setenv(LANGUAGE="en") > >> y <- c(0L, -2e9:2e9) > > Error: cannot allocate vector of size 14.9...
2020 Sep 08
0
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...Tippen Sie 'demo()' f?r einige Demos, 'help()' f?r on-line Hilfe, oder > > 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. > > Tippen Sie 'q()', um R zu verlassen. > > >> x <- (-2e9:2e9) + 1L > > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > >> y <- c(0L, -2e9:2e9) > > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > >> Sys.setenv(LANGUAGE="en") > >> y <- c(0L, -2e9:2e9) > > Error: cannot allocate vector of size 14.9 Gb &g...
2020 Sep 08
0
[External] Re: Operations with long altrep vectors cause segfaults on Windows
..., 'help()' f?r on-line Hilfe, oder > >> > 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. > >> > Tippen Sie 'q()', um R zu verlassen. > >> > >> >> x <- (-2e9:2e9) + 1L > >> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > >> >> y <- c(0L, -2e9:2e9) > >> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren > >> >> Sys.setenv(LANGUAGE="en") > >> >> y <- c(0L, -2e9:2e9) > >> > Err...
2020 Sep 08
2
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...f?r on-line Hilfe, oder >>>> > 'help.start()' f?r eine HTML Browserschnittstelle zur Hilfe. >>>> > Tippen Sie 'q()', um R zu verlassen. >>>> >>>> >> x <- (-2e9:2e9) + 1L >>>> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >>>> >> y <- c(0L, -2e9:2e9) >>>> > Fehler: kann Vektor der Gr??e 14.9 GB nicht allozieren >>>> >> Sys.setenv(LANGUAGE="en") >>>> >> y <- c(0L, -2e9:2e9) >>&...
2007 Oct 14
1
ggplot2: ordering categorial data
Hello again, everytime I think I got something to work, the next issue comes up... I have the following data.frame, I want to visualize: > data_rb tld spam1 spam2 share 1 ca 826436 73452 0.0889 2 org 470550 25740 0.0547 3 de 156042 15531 0.0995 4 com 140753 7527 0.0535 5 edu 34845 2507 0.0719 6 net 12781 382 0.0299 7 ru 7648 18 0.0024
2010 Mar 27
1
R runs in a usual way, but simulations are not performed
...d(x, crossprod(solve(sigma),x))) xs <- function(sigma) crossprod(x,solve(sigma)) sx <- function(sigma) crossprod(solve(sigma),x) fixs <- function(sigma) crossprod(fi(sigma),xs(sigma)) sxfixs <- function(sigma) crossprod(xs(sigma),crossprod(fi(sigma),xs(sigma))) # zav?dza (ncol(z) x 1) vektor n?l, ktor? m? na i-tom mieste 1 ei <- function(i) { ei = rep(0,ncol(z)) ei[i] = 1 return(ei) } # zav?dza deriv?ciu dSIGMA/dalfa_i a zmie?an? deriv?ciu (dSIGMA^2)/(ddalfa_i*dalfa_j) # zav?dza maticov? s??in (sigma)^(-1)*dSIGMA/dalfa_i # zav?dza maticov? s??in (sigma)^(-1)*dSIGMA/dalfa_i*(sigma)...
2020 Aug 19
4
[PATCH 05/28] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT
...44 > --- a/include/uapi/linux/videodev2.h > +++ b/include/uapi/linux/videodev2.h > @@ -191,8 +191,6 @@ enum v4l2_memory { > V4L2_MEMORY_DMABUF = 4, > }; > > -#define V4L2_FLAG_MEMORY_NON_CONSISTENT (1 << 0) > - > /* see also http://vektor.theorem.ca/graphics/ycbcr/ */ > enum v4l2_colorspace { > /* > -- > 2.28.0 > > _______________________________________________ > iommu mailing list > iommu at lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu
2020 Aug 19
0
[PATCH 05/28] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT
...api/linux/videodev2.h index c7b70ff53bc1dd..5c00f63d9c1b58 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -191,8 +191,6 @@ enum v4l2_memory { V4L2_MEMORY_DMABUF = 4, }; -#define V4L2_FLAG_MEMORY_NON_CONSISTENT (1 << 0) - /* see also http://vektor.theorem.ca/graphics/ycbcr/ */ enum v4l2_colorspace { /* -- 2.28.0
2020 Aug 19
0
[PATCH 05/28] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT
...deodev2.h >> +++ b/include/uapi/linux/videodev2.h >> @@ -191,8 +191,6 @@ enum v4l2_memory { >> V4L2_MEMORY_DMABUF = 4, >> }; >> >> -#define V4L2_FLAG_MEMORY_NON_CONSISTENT (1 << 0) >> - >> /* see also http://vektor.theorem.ca/graphics/ycbcr/ */ >> enum v4l2_colorspace { >> /* >> -- >> 2.28.0 >> >> _______________________________________________ >> iommu mailing list >> iommu at lists.linux-foundation.org >> https://lists.linuxfoundation.org/mail...