search for: hedegaard

Displaying 2 results from an estimated 2 matches for "hedegaard".

Did you mean: smedegaard
2013 Feb 28
3
Hidden information in an object
...If I write the code like library(MASS)cats$ratio <- cats$Hwt/cats$Bwtmale <- cats$ratio[cats$Sex == "M"]... it also works, which I suppose is because there is a correspondence between the "Sex" variable and the "ratio" variable in the cats dataset. Regards,Rasmus Hedegaard. [[alternative HTML version deleted]]
2013 Feb 15
2
Making the plot window wider and using the predict function
...t;- data.frame(Bwt = 3.5) predict(linreg0,newData,interval="p") This doesn't work - my guess is that to R, "Bwt" is not a variable in maleData, but maleData$Bwt is. I could use an attach command, but is it possible to get this to work without doing so? Kind regards, Rasmus Hedegaard. [[alternative HTML version deleted]]