# NOT RUN {
## Example with factors and numeric variables
data(puechabon)
hist(puechabon$kasc, type = "h")
## Aspect is a factor, then it's not possible to use
## kernel density estimates for it :
hist(puechabon$kasc)
## Removing the factor Aspect, and smoothing gives :
hist(puechabon$kasc[-2], type = "l")
# }
Run the code above in your browser using DataLab