Dear R help,


I would like to teach my students to do a simple kite diagram with some
simulated data.



I have these columns:

*Forest.Type*

*Altitude.percent*

*Total*

Primary

20

827

Primary

20

917

Primary

10

946

Primary

10

516

Primary

1

775

Primary

1

777

Secondary

20

22

Secondary

20

41

Secondary

10

52

Secondary

10

65

Secondary

1

78

Secondary

1

82



I would like to use Altitude as a proxy for distance and I have 2 readings
for each altitude: one to the supposed right and one to the supposed left
of the transect.



I rather impulsively tried



> kiteChart(t(Total))

Error in varpos[kite] <- varpos[kite - 1] + 1.1 * (kitewidths[kite - 1] +
:

  replacement has length zero



And I’m now at a loss…would anyone be able to help?

Thanks and regards,
Ruth

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to