similar to: TRUE/FALSE

Displaying 20 results from an estimated 10000 matches similar to: "TRUE/FALSE"

2012 Jul 24
3
Linear Model Prediction
I have data X and Y, and I want to predict what the very next point would be based off the model. This is what I have: >model=lm(x~y) I think I want to use the predict function, but I'm not exactly sure what to do. Thank you! -- View this message in context: http://r.789695.n4.nabble.com/Linear-Model-Prediction-tp4637644.html Sent from the R help mailing list archive at Nabble.com.
2012 Jul 30
3
If/then statement, if in a list then
I need to write an if/then statement saying something along the lines of: if (VALUE is in list) {... How do I write that in R's language. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/If-then-statement-if-in-a-list-then-tp4638346.html Sent from the R help mailing list archive at Nabble.com.
2007 Jun 08
2
pnorm how to decide lower-tail true or false
Hi to all, maybe the last question was not clear enough. I did not found any hints how to decide whether it should use lower.tail or not. As it is an extra R-feature ( written in http://finzi.psych.upenn.edu/R/Rhelp02a/archive/66250.html ) I do not find anything about it in any statistical books of me. Regards Carmen
2012 Jul 18
1
Skip file
What i have is a for loop to name files. I want it to skip over the file if it doesn't exist. Is there a way to do that? s=seq(from = chron("03/15/2012"), to = chron("06/15/2012")) day=format(as.Date(s), "%Y%m%d") for (k in 1:length(day)){ B1=read.csv(paste("S:/file_", day[k], ".csv", sep="")) Date=strptime(B1[,1],
2008 Mar 04
1
grid.layout?
platform x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 6.2 year 2008 month 02 day
2012 Sep 23
1
Background color in a grid plot seems to interfere with plot()
Hi, Why does the upper left panel (in the plot below) not have a gray background? Cheers, Marius require(grid) require(gridBase) pdf(file="Rplot.pdf", width=8, height=8, onefile=FALSE) ## set up the grid layout gl <- grid.layout(5, 5, widths=unit(c(1.8, 8, 0.8, 8, 0.8), "cm"), heights=unit(c(0.8, 8, 0.8, 8, 1.5), "cm")) if(FALSE) grid.show.layout(gl)
2007 Mar 25
1
controlling panel.width and panel.height in viewports
Dear all, I'm trying to get a series of lattice levelplots to appear in viewports in a particular way but struggling to exert fine control over their appearence. There are two conditions: (a) I only want the levelplot to appear (I don't want axes, colour key, etc) in the viewport and (b) I want the levelplot to expand to the maximum allowable space in the viewport while observing
2005 Mar 11
2
Lattice bwplot error
Dear all; Searching the R site for answers to my problem, but found none. Here is the run and error: > bwplot(dev ~ Dbhcl | Period, data = DbhValid2, font = 2, + main=list(" "), axis.font =2, + ylab = list(label = "Residual (cm)", font = 2), + xlab = list(label = "Dbh class (cm)", font = 2), + par.strip.text=list(cex=0.8, font=2), + panel=function(x,
2011 Nov 15
1
grid.arrange, grid.layout - legend, global y axis title
Hello, I created several plot with ggplot2 dev mode. Now I want to combine the plots in a grid e.g. 2x2 with a fixed size of the output. What I am doing at the moment is: grid.newpage() pushViewport(viewport(layout = grid.layout(nrow=2, ncol=2, widths = unit(c(7.5,6.5), "cm"), heights = unit(rep(5, 2), "cm")))) print(plot1, vp = viewport(layout.pos.row = 1,
2008 Jun 14
1
"False convergence" in LME
I tried to use LME (on a fairly large dataset, so I am not including it), and I got this error message: Error in lme.formula(formula(paste(c(toString(TargetName), "as.factor(nodeInd)"), : nlminb problem, convergence error code = 1 message = false convergence (8) Is there any way to get more information or to get the potentially wrong estimates from LME? (Also, the page in the
2004 Oct 25
2
Revision: post on Intro to R lecture
Hi All: This follows my earlier post on webized slides on lecture presentation on introducing R. I learned that in Mozilla (Firefox) browsers, the slides did not show up. Sorry for the no show. As a reluctant windows user, I kind of carelessly clicked through Powerpoint to convert the presentation file to its html form, unwittingly leading to the mess. See if it got corrected now (I do not have
2012 Sep 23
1
grid: How to merge cells in grid.layout?
Dear grid expeRts, I would like to create a layout with grid that looks like the following, but with cells (1,1), (1,4), (4,1), and (4,4) removed and cells (2,1) and (3,1) (and (4,2) and (4,3)) combined to one cell (so that contents can easily be centered. How can this be achieved? require(grid) gl <- grid.layout(4, 4, widths=unit(c(1, 3, 3, 1), "cm"),
2006 Jun 08
2
Turning off a temporary message in voicemail
Can a temporary message in Asterisk voicemail be de-activated so that the "regular" unavailable and busy messages are played. I have several users who are stuck with the temporary message. Thanks Mark
2008 Sep 03
1
how to reduce stress value in isoMDS?
I apply isoMDS to my data, but the result turns out to be bad as the stress value stays around 31! Yeah, 31 ,not 3.1... I don't know if I ignore something before recall isoMDS. My code as follow: m <- read.table("e:/tsdata.txt",header=T,sep=",") article_number <- ts(m, start = 2004,end=2008, frequency = 1 ,names=colnames(m))
2016 Nov 22
2
backup_samba4 script failing
On Tue, 22 Nov 2016 17:07:14 +0400 Mike Lykov via samba <samba at lists.samba.org> wrote: > 22.11.2016 16:12, Bob of Donelson Trophy via samba пишет: > > I am testing the backup script found at > > https://github.com/thctlo/samba4/tree/master/backup-script on Ubuntu > > 16.04.1LTS with Samba 4.5.0 (from source) running. > > Are this backup method useful only for
2007 Aug 20
2
how to collapse a list of 1 column matrix to a matrix?
Hi, I encounter a situation where I have a list whose element is a column matrix. Says, $'1' [,1] 1 2 3 $'2' [,1] 4 5 6 Is there fast way to collapse the list into a matrix like a cbind operation in this case? Meaning, the result should be a matrix that looks like: [,1] [,2] [1,] 1 4 [2,] 2 5 [3,] 3 6 I can loop through all elements and do
2002 Oct 18
4
code to turn T into TRUE
Does anyone have code that will methodically process R sourcecode, turning T's into TRUE and F's into FALSE? I got bored doing this by hand, after the first 30-odd functions-- there are hundreds left to do. I don't want to simply deparse everything, because that would destroy my beautiful formatting. The reason it's not trivial, is that comment lines, quotes, and split lines need
2007 May 15
1
Problem accessing SWAT with Firefox
Hi, not sure if I'm posting in the right place but couldn't find a SWAT forum. I've just changed my PC but the new one has exactly the same settings (IP, computername, login, password) as the old one, however I am getting an error when I try to access any of my Samba servers from Firefox (2.0.0.3) :- " 400 Server ErrorSamba is configured to deny access from this client Check
2011 Dec 26
2
Recoding multiple TRUE/FALSE columns into a single list of TRUE columns
Hi everyone, I need to recode multiple columns in a dataframe into a single column in a variety of different ways. Often the values will be TRUE/FALSE and I want a list of the columns that are true as in the Result column below: P1 P2 P3 P4 Result 1 0 0 1 1 P3,P4 2 0 1 1 1 P2,P3,P4 3 1 0 0 0 P1 4 0 0 0 0 NA 5 1 1 1
2020 Jul 14
3
Replication only working one way
Checking the databases against each other throws up pages and pages of errors. The two are completely out of sync now. What I have seen is that for no apparent reason, one of the servers suddenly decided it would sync with the Windows server, which appears to have updated the schema. Yesterday when I compared the databases on the two linux servers they only had a couple of errors, today, many