search for: nprint

Displaying 20 results from an estimated 21 matches for "nprint".

Did you mean: print
2005 Nov 04
3
NCP, nprint and ncpfs
Hi everyone, I tried to use yum to search for ncpfs-2.2.1-1.i386.rpm, but it couldn't find it. I googled and found this package is included with redhat,but i'm not sure if it's included with CentOS 4.2. Any idea where I can find and install it using yum? Thanks JC
2013 Apr 04
6
categorized complete list of R commands?
every time I read the R release notes for the next release, I see many functions that I had forgotten about and many functions that I never knew existed to begin with. (who knew there were bibtex facilities in R? obviously, everyone except me.) I wonder whether there is a complete list of all R commands (incl the standard packages) somewhere, preferably each with its one-liner AND
2011 Mar 15
1
Problem with nls.lm function of minpack.lm package.
...upply). There are some strange things going on with your models; in the case of this call: out <- nls.lm(par = guess, fn = fcn, jac = fcn.jac, fcall = f.Th, jcall = j.Th, h = h, Th = Th, control = nls.lm.control(maxfev = integer(), maxiter = 10000, nprint=100)) The parameter estimates keep changing even after 1000 iterations. This is not good. In the second fit, I change the starting values slightly, to ##starting values (alp = 0.04, n = 1.6, L = 0.5) guess.k <- c(alp = 0.08, n = 1.61, L = 0.51) ## to use an analytical expression for the gra...
2008 Mar 13
0
new version of minpack.lm
...eviance', 'df.residual', 'print', and 'residuals' o the argument 'control' of 'nls.lm' now defaults to 'nls.lm.control()'; 'nls.control.lm' allows a maximum number of iterations to be specified; when the element 'nprint' of the 'control' argument of a call to 'nls.lm' is an integer greater than 0, the residual sum of squares is now included in the information printed every 'nprint' iterations ` o the list returned by 'nls.lm' includes elements 'niter'...
2008 Mar 13
0
new version of minpack.lm
...eviance', 'df.residual', 'print', and 'residuals' o the argument 'control' of 'nls.lm' now defaults to 'nls.lm.control()'; 'nls.control.lm' allows a maximum number of iterations to be specified; when the element 'nprint' of the 'control' argument of a call to 'nls.lm' is an integer greater than 0, the residual sum of squares is now included in the information printed every 'nprint' iterations ` o the list returned by 'nls.lm' includes elements 'niter'...
2006 Apr 27
0
Strange parse behavior
...tements. This is on R 2.3.0 (linux). It may or may not have been present earlier than 2.3.0, but I only discovered it recently. I can see no mention of it in the NEWS file from trunk. Consider these statements (the output I get is shown commented below each statement): bad.syntax <- ")\nprint (\"hello\")\nprint (\"world\")" try (parse (text=bad.syntax, n=-1)) # OK # Error in parse(file, n, text, prompt) : syntax error in ")" try (parse (text=bad.syntax, n=1)) # OK # Error in parse(file, n, text, prompt) : syntax error in ")" try (parse (text...
2006 Apr 27
0
Strange parse behavior (PR#8815)
.... It may or may not have been > present earlier than 2.3.0, but I only discovered it recently. I can see no > mention of it in the NEWS file from trunk. > > Consider these statements (the output I get is shown commented below each > statement): > > bad.syntax <- ")\nprint (\"hello\")\nprint (\"world\")" > > try (parse (text=bad.syntax, n=-1)) # OK > # Error in parse(file, n, text, prompt) : syntax error in ")" > try (parse (text=bad.syntax, n=1)) # OK > # Error in parse(file, n, text, prompt) : syntax error in &quot...
2009 Feb 12
1
Using nls or nls.lm with a simulation output
...just value y1 <- function(pp,xx) {rep(pp$a, length(xx))} #Residual resid <- function(pp,observed,xx) {observed-y1(pp,xx)} #Starting parameter pStart <- list(a=0.1) #non-linear fit library(minpack.lm) nls.lm.test <- nls.lm(par=pStart, fn=resid, observed=simy, xx=x, control=nls.lm.control(nprint=1)) It works fine: It. 0, RSS = 86.2811, Par. = 0.1 It. 1, RSS = 5.69735, Par. = 2.93873 It. 2, RSS = 5.69735, Par. = 2.93873 Now let the function generating the theoretical values returns also a little bit noise, as observed from the output of a simulation with sto...
2008 Mar 10
2
source() behavior I don't understand
temp.ttt <- "ttt <- 1\nttt" conn.ttt <- textConnection(temp.ttt) source(conn.ttt, echo=TRUE) ## name of variable is echoed close(conn.ttt) cat(file="c:/temp/temp.R", temp.ttt) ## name of variable not echoed source("c:/temp/temp.R", echo=TRUE) temp.abc <- "abc <- 1\nabc" conn.abc <- textConnection(temp.abc) source(conn.abc, echo=TRUE)
2017 Nov 01
0
Function to save results
Let's try a simple example. > # Create a script file of commands > # Note we must print the results of quantile explicitly > cat("x <- rnorm(50)\nprint(quantile(x))\nstem(x)\n", file="Test.R") > > # Test it by running it to the console > source("Test.R") 0% 25% 50% 75% 100% -2.4736219 -0.7915433 -0.1178056 0.7023577 2.9158617 The decimal point is at the | -2 | 510 -1...
2017 Nov 01
3
Function to save results
Hi Eric,Thanks for the explanation. Is there a way to save the results automatically after the analysis gets over?. As I recently lost the results, because I didn't save the results. I don't want to run the sink or save command after the analysis is over rather run the command for saving the file before starting to run the analysis, so the file gets saved automatically after the script has
2017 Nov 01
1
Function to save results
...ay?. Thank you Priya ? On Wednesday, 1 November 2017 9:32 PM, David L Carlson <dcarlson at tamu.edu> wrote: Let's try a simple example. > # Create a script file of commands > # Note we must print the results of quantile explicitly > cat("x <- rnorm(50)\nprint(quantile(x))\nstem(x)\n", file="Test.R") > > # Test it by running it to the console > source("Test.R") ? ? ? ? 0%? ? ? ? 25%? ? ? ? 50%? ? ? ? 75%? ? ? 100% -2.4736219 -0.7915433 -0.1178056? 0.7023577? 2.9158617 ? The decimal point is at the | ? -2 | 510 ? -1...
2008 Apr 10
1
(no subject)
Subject: nls, step factor 0.000488281 reduced below 'minFactor' of 0.000976563 Hi there, I'm trying to conduct nls regression using roughly the below code: nls1 <- nls(y ~ a*(1-exp(-b*x^c)), start=list(a=a1,b=b1,c=c1)) I checked my start values by plotting the relationship etc. but I kept getting an error message saying maximum iterations exceeded. I have tried changing these
2008 Jun 05
1
nls() newbie convergence problem
I'm sure this must be a nls() newbie question, but I'm stumped. I'm trying to do the example from Draper and Yang (1997). They give this snippet of S-Plus code: Specify the weight function: weight < - function(y,x1,x2,b0,b1,b2) { pred <- b0+b1*x1 + b2*x2 parms <- abs(b1*b2)^(1/3) (y-pred)/parms } Fit the model gmfit < -nls(~weight(y,x1,x2,b0,b1,b2),
2017 May 22
2
DebugInfo, Metadata usage
...ingRef Encoding = dwarf::AttributeEncodingString(DIBT->getEncoding()); if(!Encoding.empty()) { llvm::outs() << "Encoding : " << Encoding.str() << "\n"; } } } llvm::outs() << "\n\nPrint All Strings Declarations: \n"; for(GlobalVariable& GV : M->globals()) { if(!GV.hasInitializer()) continue; if(ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(GV.getInitializer())) { llvm::outs() << "GVName: &q...
2003 Jan 03
1
Problem installing a particular printer WinXP/Samba2.2.7a
...00 00 00 00 00 3E 00 00 00 46 00 00 ........ .>...F.. [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [030] 00 47 00 00 00 70 69 63 61 73 73 6F 00 00 57 69 .G...pic asso..Wi [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [040] 6E 50 72 69 6E 74 00 70 69 63 61 73 73 6F 00 00 nPrint.p icasso.. [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [050] 28 00 00 00 E8 03 00 00 4E 55 4C 4C 00 00 00 00 (....... NULL.... [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [060] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ [2003/01/02 18:35:32, 10] lib/...
2017 Nov 01
0
Function to save results
...right way?. Thank you Priya On Wednesday, 1 November 2017 9:32 PM, David L Carlson <dcarlson at tamu.edu> wrote: Let's try a simple example. > # Create a script file of commands > # Note we must print the results of quantile explicitly > cat("x <- rnorm(50)\nprint(quantile(x))\nstem(x)\n", file="Test.R") > > # Test it by running it to the console > source("Test.R") 0% 25% 50% 75% 100% -2.4736219 -0.7915433 -0.1178056 0.7023577 2.9158617 The decimal point is at the | -2 | 510 -1 | 7...
2003 May 15
0
Problem installing a particular printer WinXP/Samba2.2.8a
...00 00 00 00 00 3E 00 00 00 46 00 00 ........ .>...F.. [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [030] 00 47 00 00 00 70 69 63 61 73 73 6F 00 00 57 69 .G...pic asso..Wi [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [040] 6E 50 72 69 6E 74 00 70 69 63 61 73 73 6F 00 00 nPrint.p icasso.. [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [050] 28 00 00 00 E8 03 00 00 4E 55 4C 4C 00 00 00 00 (....... NULL.... [2003/01/02 18:35:32, 10] lib/util.c:dump_data(1539) [060] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ [2003/01/02 18:35:32, 10] lib/...
1999 Apr 24
3
HP Deskjet 1000c
Howdy all - I have Samba 2.0.3 running like a champ on a dual PPro 200, 128 MB RAM, running Slackware 3.6, kernel 2.2.5. Running like a champ as far as file sharing is concerned, that is. I have an HP Deskjet 1000c hanging off the parallel port. I set up a raw printer in /etc/printcap, the line looks like this: dj1000|DeskJet 1000c:sh:lp=/dev/lp0:sd=/var/spool/lpd/dj1000 the printing section
2008 May 07
3
function in nls argument
Greetings R users, maybe there is someone who can help me with this problem: I define a function "optim.fun" and want as output the sum of squared errors between predicted and measured values, as follows: optim.fun <- function (ST04, SM08b, ch2no, a, b, d, E) { predR <- (a*SM08b^I(2)+b*SM08b+d)*exp(E*((1/(283.15-227.13))-(1/(ST04+273.15-227.13)))) abserr