search for: nfgroupeddata

Displaying 13 results from an estimated 13 matches for "nfgroupeddata".

Did you mean: nfngroupeddata
2002 Aug 29
0
fitting nlme model inside a function
...", "10"), class = "data.frame") But when I run the 'g' function in R, I get the following error: > g(test.uni) Error in inherits(data, "data.frame") : Object "dataset" not found > traceback() 5: inherits(data, "data.frame") 4: nfGroupedData(formula = logfv ~ Vs + v1 + v2 + v3 + PHA | EQ, data = dataset) 3: do.call("nfGroupedData", mCall) 2: groupedData(logfv ~ Vs + v1 + v2 + v3 + PHA | EQ, data = dataset) 1: g(test.uni) Any hints? > version _ platform i686-pc-linux-gnu...
2008 Jan 25
1
nlsList (nlme) error
...1 1 544 1 5.1 5 1 1 654 1 6.1 6 1 0 NA 1 7.1 7 1 1 441 1 8.1 8 1 1 882 1 9.1 9 1 1 1097 1 10.1 10 1 1 898 1 The data are clearly grouped. Just to be sure.... str(df.group) Classes 'nfnGroupedData', 'nfGroupedData', 'groupedData' and 'data.frame': 15480 obs. of 5 variables: $ id : Ord.factor w/ 43 levels "31"<"8"<"30"<..: 41 11 33 22 4 27 5 2 37 19 ... $ trial: int 1 1 1 1 1 1 1 1 1 1 ... $ ACC : int 1 0 1 1 1 0 1 1 1 1 ... $ RT : int 11...
2009 Jul 14
1
Problem with GroupedData
...tion with this new data frame via command below, it reported the problem stated after the command below.   library(nlme) tmp <- groupedData(Temp ~ d | Depth, data2, order.groups = TRUE, labels = list(x = "Month", y = "Temperature"), units = list(y = "0C")) Error in nfGroupedData(formula = Temp ~ d | Depth, data = data2, order.groups = TRUE,  :   second argument to groupedData must inherit from data.frame     Could someone help me to sort out on this problem, please?   Thank you Fir [[alternative HTML version deleted]]
2000 Jul 24
1
How to use groupedData() within a function?
Dear Group: I have been trying to write an R function within which the function groupedData() would be used. The following is a sample program: ####################### sid<-rep(1:6,times=2) time<-c(1:12) trt<-rep(letters[1:3],times=4) tem<-data.frame(sid,time,trt) test1.fun<- function(dat=dat) { groupedData(time ~ trt|sid, data=dat) } test1.fun(dat=tem)
2008 Nov 14
1
Superimposing y-variables in Lattice formulas
...n a data frame of a categorical variable and two continuous variables, I would like to display one continuous variable against the other for each value of the categorical variable, all superimposed on the same plot. For example: data(Indometh); str(Indometh) Classes 'nfnGroupedData', 'nfGroupedData', 'groupedData' and 'data.frame': 66 obs. of 3 variables: $ Subject: Ord.factor w/ 6 levels "1"<"4"<"2"<"5"<..: 1 1 1 1 1 1 1 1 1 1 ... $ time : num 0.25 0.5 0.75 1 1.25 2 3 4 5 6 ... $ conc : num 1.5 0.94 0.78 0...
2010 Dec 17
2
newbie question on str output
Hi! Here is some output from an str command: > str(CO2) Classes ‘nfnGroupedData’, ‘nfGroupedData’, ‘groupedData’ and 'data.frame': 84 obs. of 5 variables: $ Plant : Ord.factor w/ 12 levels "Qn1"<"Qn2"<"Qn3"<..: 1 1 1 1 1 1 1 2 2 2 ... $ Type : Factor w/ 2 levels "Quebec","Mississippi": 1 1 1 1 1 1 1 1 1 1 ... $...
2008 Oct 08
1
Observed responses in 'augPred' data frame - Wrong order ?
...ttention to an issue I have recently encountered while doing my current data analysis. I've got an unexpected (to me) result from the command: > augPred(lmList(my.object)), 'my.object' being a grouped data frame of class: > class(my.object) [1] "nfnGroupedData" "nfGroupedData" "groupedData" "data.frame" The problem is more easily explained by showing these two to Trellis plot: > plot(my.object,some_options) > plot(augPred(lmList(my.object)),some_options) [link to output: http://www.palug.net/Members/jabba ] Clearly the problem is t...
1998 Mar 23
4
Placement of attributes
...51.8, 51.4, 46.4, 44.8, 49.2, 62.1, 62.6, 64, 59.7, 60, 59, 68.6, + 65.8, 69.7, 63.2, 62.8, 62.2, 64.8, 65, 65.4, 43.7, 44.2, 43, + 67.5, 67.2, 66.9, 61.5, 61.7, 62.3, 70.8, 70.6, 71, 64.1, 66.2, + 64, 72.1, 72, 71.1, 62, 61.4, 60.5)), + class = c("nffGroupedData", "nfGroupedData", "groupedData", "data.frame"), + row.names = 1:54, + formula = score ~ 1 | Worker, + labels = list(y = "Productivity score"), + inner = ~ Machine) R> Machines Grouped Data: score ~ 1 | Worker Worker Machine score 1 1 A 52.0 2 1 A 5...
2004 Jan 17
3
Multiple groupedData plots in a postscript file using a loop
Hallo! I want to plot multiple grouped data in a postscript file using a loop. As I use a loop no plot (or just one empty plot) is generated. Here an example: library(nlme) data(Loblolly) # example data from nlme postscript("PSFile.ps") for (i in 1:1) # just as example { plot(Loblolly) } dev.off() Result: Just an empty PSFile.ps. (Withoput the loop it works. May anybody help? Karl
2009 Aug 03
2
lme funcion in R
Hi, R users, I'm using the "lme" function in R to estimate a 2 level mixed effects model, in which the size of the subject groups are different. It turned out that It takes forever for R to converge. I also tried the same thing in SPSS and SPSS can give the results out within 20 minutes. Anyone can give me some advice on the lme function in R, especially why R does not converge?
2017 Oct 20
1
Error messages using nonlinear regression function (nls)
..., 100L, 101L, 102L, 103L, 104L, 105L, 106L, 107L, 108L, 109L, 110L, 127L, 128L, 129L, 130L, 131L, 132L, 133L, 134L, 135L, 136L, 137L, 138L, 139L, 140L, 141L, 159L, 160L, 161L, 162L, 163L, 164L, 165L, 166L, 167L, 168L, 169L, 170L, 171L, 172L, 173L, 174L ), class = c("nfnGroupedData", "nfGroupedData", "groupedData", "data.frame"), formula = Prop ~ end | temp, FUN = function (x) max(x, na.rm = TRUE), order.groups = TRUE) > > sessionInfo() R Under development (unstable) (2017-07-31 r73003) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (bu...
2017 Aug 24
0
strange nlme augpred behaviour
> On Aug 23, 2017, at 8:08 AM, PIKAL Petr <petr.pikal at precheza.cz> wrote: > > Hi > > Well, yes I tried it about two weeks ago but my post did not get through as it still awaits moderator approval. It got through just fine. It appeared on Aug 15. It just didn't get any replies. As I read your original question in this thread, it was not clear to me that you had
2017 Aug 23
2
strange nlme augpred behaviour
Hi Well, yes I tried it about two weeks ago but my post did not get through as it still awaits moderator approval. I could check which column is offending but actually it is only minor nuisance, I can live with selection of columns before fitting a model. What seems to me strange is that both full dataset and only selected colums gave me identical fit results but only one works within augPred.