search for: precheza

Displaying 20 results from an estimated 813 matches for "precheza".

2006 Feb 07
1
(second round) creating a certain type of matrix
...i-2)+1 end <- start + length.of.rand.numbers-1 mat[((start):end), i]<- my.rand.num } mat } Do you (any R users) have any suggestion to this function to make this function work better or efficiently? Taka It works but I >From: "Petr Pikal" <petr.pikal at precheza.cz> >To: "Taka Matzmoto" <sell_mirage_ne at hotmail.com>,r-help at stat.math.ethz.ch >Subject: Re: [R] creating a certain type of matrix >Date: Tue, 07 Feb 2006 08:58:59 +0100 >MIME-Version: 1.0 >Received: from mail.precheza.cz ([80.188.29.243]) by >bay0-mc8-f1...
2018 Feb 13
0
plotting the regression coefficients
...have also other duties. Cheers Petr BTW, you still post in HTML which could be sometimes problematic in this text only list. From: greg holly [mailto:mak.hholly at gmail.com] Sent: Monday, February 12, 2018 7:07 PM To: Richard M. Heiberger <rmh at temple.edu> Cc: PIKAL Petr <petr.pikal at precheza.cz>; r-help mailing list <r-help at r-project.org> Subject: Re: [R] plotting the regression coefficients Hi Petr and Richard; Thanks for your responses and supports. I just faced a different problem. I have the following R codes and work well. p <- ggplot(a, aes(x=Phenotypes, y=Meta...
2018 Feb 12
2
plotting the regression coefficients
...t; tmp[order(tmp$m),] > > changing levels directly changes the names only, not the ordering. > You must redefine the factor to retain the relationship of factor > names with the numerical values. > > Rich > > > On Mon, Feb 12, 2018 at 3:49 AM, PIKAL Petr <petr.pikal at precheza.cz> > wrote: > > Hi > > > > After melt you can change levels of your factor variable. Again with the > toy example. > > > >> levels(temp$variable) > > [1] "y1" "y2" "y3" "y4" > >> levels(temp$variable)...
2023 Mar 21
1
Rprofile.site and automatic installation of missing packages
...an environment variable, not library() calls in the profile file. Duncan Murdoch > > Best regards > Petr > > -----Original Message----- > From: Duncan Murdoch <murdoch.duncan at gmail.com> > Sent: Tuesday, March 21, 2023 1:55 PM > To: PIKAL Petr <petr.pikal at precheza.cz>; r-help <r-help at r-project.org> > Subject: Re: [R] Rprofile.site and automatic installation of missing packages > > ?Startup says: "Note that when the site and user profile files are sourced only the base package is loaded, so objects in other packages need to be refe...
2023 Mar 01
1
Shaded area
...To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Osobn? ?daje: Informace o zpracov?n? a ochran? osobn?ch ?daj? obchodn?ch partner? PRECHEZA a.s. jsou zve?ejn?ny na: https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about processing and protection of business partner?s personal data are available on website: https://www.precheza.cz/en/personal-data-protection-principles/ D?v?rnost: Tento e-mail a jak?koliv k n?mu p?ip...
2018 Feb 12
3
plotting the regression coefficients
...(2,4,1,3)] > levels(temp$variable) [1] "y2" "y4" "y1" "y3" > And you will get graphs with this new levels ordering. Cheers Petr From: greg holly [mailto:mak.hholly at gmail.com] Sent: Monday, February 12, 2018 8:52 AM To: PIKAL Petr <petr.pikal at precheza.cz> Cc: r-help mailing list <r-help at r-project.org> Subject: Re: [R] plotting the regression coefficients Hi Petr; Thanks so much. This is great! Although last Sunday, alternatively, I have solved the problem using the following statement at the very end of the program. ggsave('c...
2018 Feb 12
0
plotting the regression coefficients
...quot;,"a","d") ## wrong tmp[order(tmp$m),] changing levels directly changes the names only, not the ordering. You must redefine the factor to retain the relationship of factor names with the numerical values. Rich On Mon, Feb 12, 2018 at 3:49 AM, PIKAL Petr <petr.pikal at precheza.cz> wrote: > Hi > > After melt you can change levels of your factor variable. Again with the toy example. > >> levels(temp$variable) > [1] "y1" "y2" "y3" "y4" >> levels(temp$variable) <- levels(temp$variable)[c(2,4,1,3)] >&...
2023 Mar 03
1
Shaded area
...y to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where *mydata* is your data. Copy the output and paste it here. On Wed, 1 Mar 2023 at 09:58, PIKAL Petr <petr.pikal at precheza.cz> wrote: > Hallo > > Excel attachment is not allowed here, but shading area is answered many > times elsewhere. Use something like . "shading area r" in google. > > See eg. > https://www.geeksforgeeks.org/how-to-shade-a-graph-in-r/ > > Cheers Petr > &gt...
2006 Sep 18
0
Question on apply() with more information...
>From: =?ISO646-US?Q?Gunther_H=3Fning?= <gunther.hoening at ukmainz.de> >Date: 2006/09/18 Mon AM 06:26:25 CDT >To: 'Petr Pikal' <petr.pikal at precheza.cz> >Cc: r-help at stat.math.ethz.ch >Subject: Re: [R] Question on apply() with more information... I think you want something like below but it probably needs some fixing up because i don't recall the syntax exactly. predictdata<-lapply(i=1:length(Smoothlist),function predict (sm...
2023 Mar 01
1
Shaded area
Dear R users, I have an xlsx file (attached to this mail) that shows the values of a "der" series observed on a daily basis from January 1, 2017 to January 25, 2017. This series is strictly positive during two periods: from January 8, 2017 to January 11, 2017 and from January 16, 2017 to January 20, 2017. I would like to plot the series with two shaded areas corresponding to the
2009 Jul 29
1
Add a line in a Pairs2 and mark the axis length
...4617 4177 3907 3975 3651 3031 2912 3018 Ase2.txt contains ant g t 219390 8740 17220 301510 8530 17550 316970 8640 17650 364220 9360 21420 387390 9960 23410 430180 11040 25820 499930 12240 27620 595010 13800 31670 661870 14760 37170 2009/7/28, Petr PIKAL <petr.pikal@precheza.cz>: > > r-help-bounces@r-project.org napsal dne 28.07.2009 15:39:03: > > > > > Have you installed it first? > > First: > > install.packages("TeachingDemos") > > Or if you have problems with correct setting through corporate network > rules (li...
2020 Oct 23
2
How to shade area between lines in ggplot2
...alblue") + geom_abline(slope = slope_1, intercept = intercept_1 + 1/w[2], linetype = "dashed", col = "royalblue") ``` Why there is a hole in the middle of the ribbon? and the color is not grey... On Fri, Oct 23, 2020 at 2:35 PM PIKAL Petr <petr.pikal at precheza.cz> wrote: > > Hi > > What about something like > > p+geom_ribbon(aes(ymin = slope_1*x + intercept_1 - 1/w[2], > ymax = slope_1*x + intercept_1 + 1/w[2], fill = "grey70", alpha=0.1)) > > Cheers > Petr > > > -----Original Message----- > > Fro...
2020 Oct 26
0
How to shade area between lines in ggplot2
...e_1*x + intercept_1 - 1/w[2], ymax = slope_1*x + intercept_1 + 1/w[2]), fill = "yellow", alpha=0.1) Cheers Petr > -----Original Message----- > From: Luigi Marongiu <marongiu.luigi at gmail.com> > Sent: Friday, October 23, 2020 3:30 PM > To: PIKAL Petr <petr.pikal at precheza.cz> > Cc: r-help <r-help at r-project.org> > Subject: Re: [R] How to shade area between lines in ggplot2 > > Thank you, but this split the area into two and distorts the shape of the > plot. > (compared to ``` p + geom_abline(slope = slope_1, intercept = intercept_1 - &g...
2017 Oct 13
2
How to define proper breaks in RFM analysis
> On Oct 13, 2017, at 2:51 AM, PIKAL Petr <petr.pikal at precheza.cz> wrote: > > Hi > > You expect us to solve your problem but you ignore advice already recieved. > > Your data are unreadable, use dput(yourdata) instead. see ?dput > >> test<-read.table("clipboard", heade=T) > Error in scan(file = file, what = wha...
2007 Jan 05
4
Fast Removing Duplicates from Every Column
Hi, I'm looking for some lines of code that does the following: I have a dataframe with 160 Columns and a number of rows (max 30): Col1 Col2 Col3 ... Col 159 Col 160 Row 1 0 0 LD ... 0 VD Row 2 HD 0 0 0 MD Row 3 0 HD HD 0 LD Row 4 LD HD HD 0 LD ... ... LastRow HD HD LD 0 MD Now I want a dataframe that looks like this. As you see
2008 Jan 10
6
4 dimensional graphics
...ll I want to display 4 dimensional space by some suitable way. I searched CRAN and found miscellaneous 3 dim graphics packages which I maybe can modify but anyway I am open to any hint how to efficiently display data like: longitude, latitude, height, value Thank you Petr Pikal petr.pikal at precheza.cz
2018 Feb 12
0
plotting the regression coefficients
...iables are in my Y axis, my R program reorders the names on Y-axis. However, I would like have and plot output with the names as they are. Is there any way to have plot without ordering the names of variables on Y-axis? Regards, Greg. On Mon, Feb 12, 2018 at 10:12 AM, PIKAL Petr <petr.pikal at precheza.cz> wrote: > Hi > > > > Maybe there are other ways but I would split data to several chunks e.g. > in list and use for cycle to fill multipage pdf. > > > > With the toy data something like > > > > library(reshape2) > > library(ggplot2) > > t...
2018 Feb 12
2
plotting the regression coefficients
...]], aes(x=par1, y=variable, size=abs(value), colour=factor(sign(value)))) print(p+geom_point()) } dev.off() But the real code partly depends on your real data. Cheers Petr From: greg holly [mailto:mak.hholly at gmail.com] Sent: Saturday, February 10, 2018 9:05 PM To: PIKAL Petr <petr.pikal at precheza.cz> Cc: r-help mailing list <r-help at r-project.org> Subject: Re: [R] plotting the regression coefficients Hi Peter; The R code you provided works very well. Once again thanks so much for this. The number of variables in my data set that should appear on the y-axis is 733 and they are n...
2007 Oct 01
0
Clustering literature was Re: nonlinear regression
.... However customizing yourself with R environment, syntax and basic data manipulation can save you a lot of headache. Just make a hardcopy of 100 pages R-intro and use it in small portions before you fall asleep. In few days you will become a quite experienced user. Regards Petr petr.pikal at precheza.cz > Anyway, I ended up using lm. It worked fine after some time spent on > choosing the independent variable. > I ran some tests for heteroschedasticity, autocorrelation, normal > distribbution of residuals and everything came out fine. > Now the next step is clustering using the...
2003 May 20
3
plot POSIX class and identify
Hallo all just a small question I did not find an answer in help pages. Is it possible to use identify() after plotting with plot.POSIX to label points and/or to find out some points? Thanks a lot. Best regards Petr Pikal petr.pikal at precheza.cz p.pik at volny.cz