Displaying 7 results from an estimated 7 matches for "lauramorgana".
2009 Feb 10
2
plotting the result of a nonlinear regression
Hello,
to plot the result of a singular non linear regression (using nls) I usually use the function plotfit, for example:
r.PTG.V<-nls(PTG.P~ fz1(Portata, a,b), data=dati, start=list(a=10, b=10), nls.control(maxiter=200), algorithm='port',
trace=TRUE, na.action=na.omit, lower=list(a=0, b=10), upper=list(a=100, b=100))
plotfit(r.PTG.V)
I tried to use the function plotfit on the
2009 Feb 20
6
write.table
Hello,
I tried to turn lists into vectors and then bind them together in order to create a dataframe but if, after this, I
try to use the function write.table I get the following error message:
Error in write.table(x, file, nrow(x), p, rnames, sep, eol, na, dec, as.integer(quote), :
'list' type not implemented in 'EncodeElement'
Here is what I've done:
2009 Feb 10
3
summary of a list
Hello,
I'm using the following for loop to find regression curves using a list of functions (formList), a list of starting
values (startList), uppervalues (upperList) and lower values (lowerList).
A sample of the list of function I use in the loop is the following:
FormList <- list(PTG.P ~ fz1(Portata, a, b), PTG.P ~ fz2(Portata, a, b), PTG.P ~ fz3(Portata,a, b, d, e),
PTG.P ~
2009 Feb 03
3
non linear regression with nls
Hello,
I'm a beginner with R and it's the first time I'm using the R-help list... I hope I'm in the right place, if not:
Sorry!!
I need to do non linear regressions on a data set which columns are:
"river.name" "Portata" "PTG.P" "PO4.P" "NT.N" "NH4.N" "NO3.N" "BOD5" "SiO2"
2009 Feb 13
2
odfWeave & prettyR
Hello,
I've been trying to use odfWeave and prettyR packages to create documents with both text and graphs, but so far I
haven't been very lucky...
With the function R2html () in prettyR package, when I try to use a source file, which works perfectly if I run it
directly form R using "source("file")",
it works for the first part and then it makes a mess, i guess
2009 Feb 11
2
plots and text to the same output file
Hello,
I would like to save different plots and some text (like summaries, AIC, ...) on the same file.
I've read the e-mails entitled "Output results to a single postscript document" written some days ago and I've tried
to use the function odfInsertPlot() in the package "odfWeave" but it doesn't work on my computer (I've seen that
odfWeave package depends on
2009 Mar 23
1
subset and "or" operator
Hello,
I'm trying to subset a dataframe where I have many observation taken in different years.
I would like to subset the dataframe (in this example called "table") to get a new dataframe containing only the
observation of year 1995, 1998 and 2000.
I've tried to use subset and the or operator "|" like this:
subset(table, year==1995|1998|2000)-->table2
but the