LSM6DS33 setting filters

From the specifications the LSM6DS33 has a low pass filter for 50hz. Any code examples of setting this filter?

I copied those words. I added anther word to those words to make the words "LSM6DS33 library". I then went to this site pololu/lsm6-arduino: Pololu Arduino library for LSM6DS33 accelerometer and gyro (github.com),

I went to this page lsm6-arduino/LSM6.h at master ยท pololu/lsm6-arduino (github.com) to find this function, void writeReg(uint8_t reg, uint8_t value);.

Then I searched on the words "lsm6ds33 spec sheet" to get iNEMO inertial module: always-on 3D accelerometer and 3D gyroscope (pololu.com).

I am sure that you armed with the function to write to the register and the datasheet, that you can figure it out from there. Good luck.